diff options
author | Dima Stepanov <[email protected]> | 2021-04-19 09:37:22 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-20 08:59:04 -0600 |
commit | 57b93ed435e6de049d190b5c1052c35d4b223631 (patch) | |
tree | fe3606da7ecf0b85deeeb4683724505bc730b7a1 /include/linux/overflow.h | |
parent | 3db7cf55d532a15ea26b4a14e8f8729ccd96fd22 (diff) |
block/rnbd: Use strscpy instead of strlcpy
During checkpatch analyzing the following warning message was found:
WARNING:STRLCPY: Prefer strscpy over strlcpy - see:
https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Fix it by using strscpy calls instead of strlcpy.
Signed-off-by: Dima Stepanov <[email protected]>
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Gioh Kim <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions