kernel-fxtec-pro1x/arch/mips/ralink
Chen Gang 24b1944fc6 MIPS: Ralink: 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: juhosg@openwrt.org
Cc: linux-mips@linux-mips.org
Cc: Linux-Arch <linux-arch@vger.kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/5330/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-06-10 18:01:26 +02:00
..
dts MIPS: ralink: use the dwc2 driver for the rt305x USB controller 2013-05-17 21:16:59 +02:00
clk.c
common.h MIPS: ralink: add memory definition to struct ralink_soc_info 2013-05-08 01:19:11 +02:00
early_printk.c MIPS: ralink: make early_printk work on RT2880 2013-05-08 01:19:08 +02:00
irq.c MIPS: ralink: add missing comment in irq driver 2013-05-08 01:19:08 +02:00
Kconfig DT: MIPS: ralink: add MT7620A dts files 2013-05-08 01:19:11 +02:00
Makefile MIPS: ralink: adds support for MT7620 SoC family 2013-05-08 01:19:09 +02:00
mt7620.c MIPS: ralink: add memory definition for MT7620 2013-05-08 01:19:12 +02:00
of.c MIPS: Ralink: Use strlcpy() instead of strncpy(). 2013-06-10 18:01:26 +02:00
Platform MIPS: ralink: add cpu-feature-overrides.h 2013-05-08 01:19:10 +02:00
prom.c
reset.c
rt288x.c MIPS: ralink: add memory definition for RT2880 2013-05-08 01:19:11 +02:00
rt305x.c MIPS: ralink: add memory definition for RT305x 2013-05-08 01:19:11 +02:00
rt3883.c MIPS: ralink: add memory definition for RT3883 2013-05-08 01:19:12 +02:00