ARM: OMAP2+: using strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Wed, 30 Jan 2013 11:46:49 +0000 (19:46 +0800)
committerTony Lindgren <tony@atomide.com>
Mon, 4 Feb 2013 18:17:37 +0000 (10:17 -0800)
commitc8d4bafe503ca767bbc8f3c54e4acd344ef26346
treebaed6cff1c10a8cdde6f411106ca44e6c21c1107
parent61338d598eec1477455294f006793ee54eead795
ARM: OMAP2+: using strlcpy instead of strncpy

the fields must be null-terminated:
the caller may use it as null-terminted string, next.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/twl-common.c