aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_common.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2022-08-30 22:14:53 +0200
committerKalle Valo <kvalo@kernel.org>2022-09-02 11:47:22 +0300
commitbf99f11df4de45fcba6f6c441b411a16bccaccf6 (patch)
tree70ebf2dbad8e2b72723b728247ff692f58b35f2d /drivers/net/dsa/microchip/ksz_common.c
parentwifi: wilc1000: remove redundant ret variable (diff)
downloadlinux-dev-bf99f11df4de45fcba6f6c441b411a16bccaccf6.tar.xz
linux-dev-bf99f11df4de45fcba6f6c441b411a16bccaccf6.zip
wifi: 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: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220830201457.7984-2-wsa+renesas@sang-engineering.com
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions