aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2022-08-18 22:59:47 +0200
committerVasily Gorbik <[email protected]>2022-08-30 22:00:33 +0200
commit820109fb11f24baf16ed86e232939877df3e9f0c (patch)
tree31510be8195fb4de12e5b4aae3a9cdba0db87ec2 /lib/string_helpers.c
parentb90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff)
s390: 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: Jakub Kicinski <[email protected]> Acked-by: Benjamin Block <[email protected]> Acked-by: Alexandra Winter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] [[email protected]: squashed two changes linked above together] Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions