OpenCloudOS-Kernel/drivers/net/ethernet/sfc
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
..
falcon net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
siena net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
Kconfig sfc/siena: Make MCDI logging support specific for Siena 2022-05-12 16:49:30 -07:00
Makefile sfc: insert default MAE rules to connect VFs to representors 2022-07-29 21:22:06 -07:00
bitfield.h sfc: extend bitfield macros to 19 fields 2020-11-13 15:33:03 -08:00
ef10.c sfc: move table locking into filter_table_{probe,remove} methods 2022-07-29 21:22:06 -07:00
ef10_regs.h
ef10_sriov.c sfc: move table locking into filter_table_{probe,remove} methods 2022-07-29 21:22:06 -07:00
ef10_sriov.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
ef100.c sfc: insert default MAE rules to connect VFs to representors 2022-07-29 21:22:06 -07:00
ef100.h
ef100_ethtool.c sfc: Encapsulate access to netdev_priv() 2022-06-29 13:40:47 +01:00
ef100_ethtool.h
ef100_netdev.c sfc: insert default MAE rules to connect VFs to representors 2022-07-29 21:22:06 -07:00
ef100_netdev.h sfc: hook up ef100 representor TX 2022-07-22 12:50:06 +01:00
ef100_nic.c sfc: use a dynamic m-port for representor RX and set it promisc 2022-07-29 21:22:07 -07:00
ef100_nic.h sfc: determine wire m-port at EF100 PF probe time 2022-07-29 21:22:06 -07:00
ef100_regs.h sfc: update EF100 register descriptions 2022-07-22 12:50:06 +01:00
ef100_rep.c sfc: implement ethtool get/set RX ring size for EF100 reps 2022-07-29 21:22:07 -07:00
ef100_rep.h sfc: insert default MAE rules to connect VFs to representors 2022-07-29 21:22:06 -07:00
ef100_rx.c sfc: receive packets from EF100 VFs into representors 2022-07-29 21:22:06 -07:00
ef100_rx.h
ef100_sriov.c sfc: add skeleton ef100 VF representors 2022-07-22 12:50:06 +01:00
ef100_sriov.h sfc: add skeleton ef100 VF representors 2022-07-22 12:50:06 +01:00
ef100_tx.c sfc: support passing a representor to the EF100 TX path 2022-07-22 12:50:06 +01:00
ef100_tx.h sfc: support passing a representor to the EF100 TX path 2022-07-22 12:50:06 +01:00
efx.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
efx.h sfc: attach/detach EF100 representors along with their owning PF 2022-07-22 12:50:06 +01:00
efx_channels.c sfc: fix wrong tx channel offset with efx_separate_tx_channels 2022-05-29 12:12:53 +01:00
efx_channels.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-12 16:15:30 -07:00
efx_common.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
efx_common.h sfc: attach/detach EF100 representors along with their owning PF 2022-07-22 12:50:06 +01:00
enum.h sfc: Remove duplicate argument 2021-04-14 13:55:07 -07:00
ethtool.c sfc: Encapsulate access to netdev_priv() 2022-06-29 13:40:47 +01:00
ethtool_common.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
ethtool_common.h
farch_regs.h
filter.h sfc: use a dynamic m-port for representor RX and set it promisc 2022-07-29 21:22:07 -07:00
io.h
mae.c sfc: use a dynamic m-port for representor RX and set it promisc 2022-07-29 21:22:07 -07:00
mae.h sfc: use a dynamic m-port for representor RX and set it promisc 2022-07-29 21:22:07 -07:00
mcdi.c sfc: detect ef100 MAE admin privilege/capability at probe time 2022-07-22 12:50:06 +01:00
mcdi.h sfc: insert default MAE rules to connect VFs to representors 2022-07-29 21:22:06 -07:00
mcdi_filters.c sfc: use a dynamic m-port for representor RX and set it promisc 2022-07-29 21:22:07 -07:00
mcdi_filters.h sfc: move table locking into filter_table_{probe,remove} methods 2022-07-29 21:22:06 -07:00
mcdi_functions.c
mcdi_functions.h
mcdi_mon.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
mcdi_pcol.h sfc: update MCDI protocol headers 2022-07-19 13:37:04 -07:00
mcdi_pcol_mae.h sfc: insert default MAE rules to connect VFs to representors 2022-07-29 21:22:06 -07:00
mcdi_port.c sfc: Encapsulate access to netdev_priv() 2022-06-29 13:40:47 +01:00
mcdi_port.h
mcdi_port_common.c ethernet/sfc: remove redundant rc variable 2022-01-04 12:41:41 +00:00
mcdi_port_common.h
mtd.c
net_driver.h sfc: insert default MAE rules to connect VFs to representors 2022-07-29 21:22:06 -07:00
nic.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
nic.h sfc: Disable Siena support 2022-05-04 11:18:08 +01:00
nic_common.h sfc: The size of the RX recycle ring should be more flexible 2022-02-01 20:34:59 -08:00
ptp.c sfc: disable softirqs for ptp TX 2022-07-27 18:20:43 -07:00
ptp.h net: sfc: fix memory leak due to ptp channel 2022-05-09 10:01:48 +01:00
rx.c bpf: Let bpf_warn_invalid_xdp_action() report more info 2021-12-13 22:28:27 +01:00
rx_common.c sfc: move table locking into filter_table_{probe,remove} methods 2022-07-29 21:22:06 -07:00
rx_common.h sfc: The size of the RX recycle ring should be more flexible 2022-02-01 20:34:59 -08:00
selftest.c
selftest.h
sriov.c sfc: Encapsulate access to netdev_priv() 2022-06-29 13:40:47 +01:00
sriov.h
tc.c sfc: use a dynamic m-port for representor RX and set it promisc 2022-07-29 21:22:07 -07:00
tc.h sfc: use a dynamic m-port for representor RX and set it promisc 2022-07-29 21:22:07 -07:00
tx.c sfc: support passing a representor to the EF100 TX path 2022-07-22 12:50:06 +01:00
tx.h
tx_common.c sfc: support passing a representor to the EF100 TX path 2022-07-22 12:50:06 +01:00
tx_common.h sfc: support passing a representor to the EF100 TX path 2022-07-22 12:50:06 +01:00
tx_tso.c
vfdi.h
workarounds.h