arch: arm: mach-msm: using strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Sun, 26 May 2013 06:54:34 +0000 (14:54 +0800)
committerDavid Brown <davidb@codeaurora.org>
Fri, 31 May 2013 15:46:09 +0000 (08:46 -0700)
For NULL terminated string, need always be sure of ended by zero.

Or the next 'ptr' in 'for' looping may cause issue.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: David Brown <davidb@codeaurora.org>

No differences found