diff options
author | Xu Panda <[email protected]> | 2022-12-28 09:45:49 +0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2023-01-06 14:14:48 +0100 |
commit | 3a151494dc04c76add577ae66e8a04f900638aaf (patch) | |
tree | be966e00ccc3a6f74084702e4ff32d6c431e20fb /tools/perf/scripts/python | |
parent | 59edcd91d852f88ef7d208029503f9b5310d0603 (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 <[email protected]>
Signed-off-by: Yang Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions