diff options
| author | Wolfram Sang <[email protected]> | 2022-08-18 20:59:59 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2022-10-04 21:25:56 +0000 |
| commit | e174b1273ef97d090ef85cb09a6bfdc10ea8dcf6 (patch) | |
| tree | e9354bdda642663f24eb0693e6814e89c7e90d41 /scripts/clang-tools/run-clang-tools.py | |
| parent | Linux 6.0 (diff) | |
| download | kernel-e174b1273ef97d090ef85cb09a6bfdc10ea8dcf6.tar.gz kernel-e174b1273ef97d090ef85cb09a6bfdc10ea8dcf6.zip | |
char: move from strlcpy with unused retval to strscpy
Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.
Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions
