linux/arch/mips/lantiq
Chen Gang 90a6fb120d MIPS: Lantiq: Use strlcpy() instead of strncpy().
'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>
2013-06-10 18:01:25 +02:00
..
dts MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
falcon MIPS: lantiq: adds static clock for PP32 2013-02-17 00:15:17 +01:00
xway Merge branch 'devm_no_resource_check' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-05-18 10:54:54 -07:00
Kconfig MIPS: lantiq: adds GPHY firmware loader 2012-11-11 18:47:41 +01:00
Makefile MIPS: lantiq: implement support for FALCON soc 2012-05-21 14:31:55 +01:00
Platform MIPS: lantiq: implement support for FALCON soc 2012-05-21 14:31:55 +01:00
clk.c Merge branch 'mips-next-3.9' of git://git.linux-mips.org/pub/scm/john/linux-john into mips-for-linux-next 2013-02-21 12:51:33 +01:00
clk.h MIPS: lantiq: adds static clock for PP32 2013-02-17 00:15:17 +01:00
early_printk.c MIPS: lantiq: fix early printk 2012-05-15 17:49:22 +02:00
irq.c MIPS: lantiq: rework external irq code 2013-02-17 00:15:18 +01:00
prom.c MIPS: Lantiq: Use strlcpy() instead of strncpy(). 2013-06-10 18:01:25 +02:00
prom.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00