diff options
author | 2022-08-18 23:02:24 +0200 | |
---|---|---|
committer | 2022-09-07 16:46:03 +0200 | |
commit | 8556bceb9c409946eebd2303d2f19e87844195ae (patch) | |
tree | fffbe2444da5c3c0c4003df303f4edab5597e3d0 /include | |
parent | netfilter: remove NFPROTO_DECNET (diff) | |
download | wireguard-linux-8556bceb9c409946eebd2303d2f19e87844195ae.tar.xz wireguard-linux-8556bceb9c409946eebd2303d2f19e87844195ae.zip |
netfilter: 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>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions