linux/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 MIPS: ralink: adds clkdev code 2013-02-17 01:25:30 +01:00
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 MIPS: ralink: adds prom and cmdline code 2013-02-17 01:25:30 +01:00
reset.c MIPS: ralink: adds reset code 2013-02-17 01:25:29 +01:00
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