diff options
| author | 2022-12-28 09:45:49 +0800 | |
|---|---|---|
| committer | 2023-01-06 14:14:48 +0100 | |
| commit | 3a151494dc04c76add577ae66e8a04f900638aaf (patch) | |
| tree | be966e00ccc3a6f74084702e4ff32d6c431e20fb /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | thermal/drivers/qcom: Fix lock inversion (diff) | |
thermal/drivers/armada: Use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer.
That's now the recommended way to copy NUL-terminated strings.
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com>
Link: https://lore.kernel.org/r/202212280945491860150@zte.com.cn
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
