summaryrefslogtreecommitdiffstats
path: root/kernel/net/netfilter/ipset/ip_set_hash_ip.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2022-11-07 22:09:04 +0100
committerJozsef Kadlecsik <kadlec@netfilter.org>2022-11-07 22:09:04 +0100
commit2d83c65cf3d22516ae5d5104c0d576b81f32a7f4 (patch)
tree44f30a2907ea2820ecd794655c9e29955e6489cc /kernel/net/netfilter/ipset/ip_set_hash_ip.c
parentb8dcfd9c68e55c523b54928d3351b353f3fb25e7 (diff)
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 'kernel/net/netfilter/ipset/ip_set_hash_ip.c')
0 files changed, 0 insertions, 0 deletions