diff options
author | 2022-08-18 23:00:09 +0200 | |
---|---|---|
committer | 2022-08-25 11:44:27 +0200 | |
commit | eeeec27d68204701cc5d49d79f7ba811e8438109 (patch) | |
tree | 22f82012929ce6cc92535e6e52647540d229314d /scripts/generate_rust_analyzer.py | |
parent | HID: Kconfig: remove redundant "depends on HID" lines (diff) | |
download | wireguard-linux-eeeec27d68204701cc5d49d79f7ba811e8438109.tar.xz wireguard-linux-eeeec27d68204701cc5d49d79f7ba811e8438109.zip |
HID: 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 <wsa+renesas@sang-engineering.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions