commit | 95e9a8552e85a7b7c885d3458c7c74c28dfe359b | [log] [tgz] |
---|---|---|
author | xu xin <xu.xin16@zte.com.cn> | Fri Sep 30 06:19:50 2022 +0000 |
committer | Andrew Morton <akpm@linux-foundation.org> | Tue Oct 11 18:51:10 2022 -0700 |
tree | 51a10e4884d3cd192f968c2e4d3ff1d6f431bfa2 | |
parent | 30341ec95af4f6e85b981c975c23929bbea8b58a [diff] |
ia64: mca: use strscpy() is more robust and safer The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Link: https://lkml.kernel.org/r/20220930061950.288290-1-xu.xin16@zte.com.cn Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Xu Panda <xu.panda@zte.com.cn> Signed-off-by: xu xin <xu.xin16@zte.com.cn> Cc: Haowen Bai <baihaowen@meizu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>