OpenCloudOS-Kernel/drivers/net/ethernet/amd
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
..
xgbe net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
7990.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
7990.h net: 7990: Fix use correct return type for ndo_start_xmit() 2020-05-06 14:26:14 -07:00
Kconfig eth: amd: remove NI6510 support (ni65) 2022-05-11 13:09:59 +01:00
Makefile eth: amd: remove NI6510 support (ni65) 2022-05-11 13:09:59 +01:00
a2065.c amd: a2065/ariadne: use eth_hw_addr_set() 2021-11-19 11:05:20 +00:00
a2065.h
amd8111e.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
amd8111e.h net: amd: remove leading spaces before tabs 2021-05-19 12:17:30 -07:00
ariadne.c amd: a2065/ariadne: use eth_hw_addr_set() 2021-11-19 11:05:20 +00:00
ariadne.h
atarilance.c amd: atarilance: use eth_hw_addr_set() 2021-11-19 11:05:20 +00:00
au1000_eth.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
au1000_eth.h au1000_eth: stop using virt_to_bus() 2022-06-08 11:32:02 -07:00
declance.c amd: declance: use eth_hw_addr_set() 2022-01-25 09:00:53 -08:00
hplance.c amd: hplance: use eth_hw_addr_set() 2021-11-19 11:05:20 +00:00
hplance.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lance.c amd: lance: use eth_hw_addr_set() 2021-11-19 11:05:20 +00:00
mvme147.c amd: mvme147: use eth_hw_addr_set() 2021-11-19 11:05:20 +00:00
nmclan_cs.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
pcnet32.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sun3lance.c ethernet: replace netdev->dev_addr assignment loops 2021-10-14 09:22:25 -07:00
sunlance.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00