OpenCloudOS-Kernel/drivers/net/ethernet/8390
Wolfram Sang f029c781dd net: ethernet: 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: Petr Machata <petrm@nvidia.com> # For drivers/net/ethernet/mellanox/mlxsw
Acked-by: Geoff Levand <geoff@infradead.org> # For ps3_gelic_net and spider_net_ethtool
Acked-by: Tom Lendacky <thomas.lendacky@amd.com> # For drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
Acked-by: Marcin Wojtas <mw@semihalf.com> # For drivers/net/ethernet/marvell/mvpp2
Reviewed-by: Leon Romanovsky <leonro@nvidia.com> # For drivers/net/ethernet/mellanox/mlx{4|5}
Reviewed-by: Shay Agroskin <shayagr@amazon.com> # For drivers/net/ethernet/amazon/ena
Acked-by: Krzysztof Hałasa <khalasa@piap.pl> # For IXP4xx Ethernet
Link: https://lore.kernel.org/r/20220830201457.7984-3-wsa+renesas@sang-engineering.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-08-31 14:11:26 -07:00
..
8390.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
8390.h 8390: Fix coding-style issues 2020-06-28 21:44:49 -07:00
8390p.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
Kconfig make legacy ISA probe optional 2021-08-03 13:05:26 +01:00
Makefile net-next: New ax88796 platform driver for Amiga X-Surf 100 Zorro board (m68k) 2018-04-19 16:11:11 -04:00
apne.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
ax88796.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
axnet_cs.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
etherh.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
hydra.c 8390: hydra: use eth_hw_addr_set() 2021-11-19 11:05:21 +00:00
lib8390.c lib8390: Use netif_msg_init to initialize msg_enable bits 2020-10-01 19:08:46 -07:00
mac8390.c 8390: mac8390: use eth_hw_addr_set() 2021-11-19 11:05:21 +00:00
mcf8390.c ethernet: 8390: Remove unnecessary print function dev_err() 2022-03-11 22:59:03 -08:00
ne.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
ne2k-pci.c ethernet: use eth_hw_addr_set() for dev->addr_len cases 2021-10-05 13:16:48 +01:00
pcnet_cs.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
smc-ultra.c 8390: smc-ultra: use eth_hw_addr_set() 2021-11-19 11:05:20 +00:00
stnic.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00
wd.c 8390: wd: use eth_hw_addr_set() 2021-11-19 11:05:21 +00:00
xsurf100.c xsurf100: drop include of lib8390.c 2021-08-03 13:05:26 +01:00
zorro8390.c ethernet: 8390: remove direct netdev->dev_addr writes 2021-10-09 11:46:57 +01:00