diff options
author | Wolfram Sang <[email protected]> | 2022-08-18 23:01:39 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-08-19 13:03:10 +0200 |
commit | 505ffcc852401aaac4dfb57c16bec0f7838c0e00 (patch) | |
tree | 072f39f02c5a31c3bf05cd789f4c1aa5c81035a5 /samples/bpf/map_perf_test_user.c | |
parent | 5abbb7b92820cf6ba9154a35cff6d64b62d7f273 (diff) |
affs: 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]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'samples/bpf/map_perf_test_user.c')
0 files changed, 0 insertions, 0 deletions