mirror of https://gitee.com/openkylin/linux.git
90a6fb120d
'compatible' is used by strlen() in __of_device_is_compatible(). Ensure strings are always '\0' terminated. 'of_ids is not a structure in "include/uapi/*", so no need to initialize it completly; using strlcpy() instead of strncpy() will do. Signed-off-by: Chen Gang <gang.chen@asianux.com> Acked-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Cc: Linux-Arch <linux-arch@vger.kernel.org> Patchwork: https://patchwork.linux-mips.org/patch/5329/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
---|---|---|
.. | ||
dts | ||
falcon | ||
xway | ||
Kconfig | ||
Makefile | ||
Platform | ||
clk.c | ||
clk.h | ||
early_printk.c | ||
irq.c | ||
prom.c | ||
prom.h |