summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2022-08-18 23:01:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-19 11:08:54 +0200
commitb7db5733a5ace9acc1f3104c9050c5aa1363f13b (patch)
tree9525e2fc500d56176bb7fac82e1515b5b09fac6b /include/linux
parentc4c2fac94dd04d982676278123affdeb11c32a72 (diff)
downloadlinux-b7db5733a5ace9acc1f3104c9050c5aa1363f13b.tar.gz
linux-b7db5733a5ace9acc1f3104c9050c5aa1363f13b.tar.bz2
linux-b7db5733a5ace9acc1f3104c9050c5aa1363f13b.zip
usb: 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/ Reviewed-by: Richard Leitner <richard.leitner@skidata.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20220818210116.7517-1-wsa+renesas@sang-engineering.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions