arch: arm: mach-msm: using strlcpy instead of strncpy
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: NChen Gang <gang.chen@asianux.com> Signed-off-by: NDavid Brown <davidb@codeaurora.org>
Showing
想要评论请 注册 或 登录