diff options
author | Wolfram Sang <[email protected]> | 2022-08-18 22:59:57 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-09-21 19:45:04 -0600 |
commit | e55e1b4831563e5766f88fa821f5bfac0d6c298c (patch) | |
tree | df9ce7528a4f57a4b1af69423e62de114fafa8e6 /net/lapb/lapb_out.c | |
parent | 7f0c1afeacfcb4c32173b5a120ec0a362b79bd71 (diff) |
block: 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]>
Acked-by: Christoph Böhmwalder <[email protected]>
Acked-by: Geoff Levand <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions