linux/drivers/net/ethernet
Randy Dunlap 459b413821 net: mlx5: eliminate anonymous module_init & module_exit
[ Upstream commit 2c1e1b9490 ]

Eliminate anonymous module_init() and module_exit(), which can lead to
confusion or ambiguity when reading System.map, crashes/oops/bugs,
or an initcall_debug log.

Give each of these init and exit functions unique driver-specific
names to eliminate the anonymous names.

Example 1: (System.map)
 ffffffff832fc78c t init
 ffffffff832fc79e t init
 ffffffff832fc8f8 t init

Example 2: (initcall_debug log)
 calling  init+0x0/0x12 @ 1
 initcall init+0x0/0x12 returned 0 after 15 usecs
 calling  init+0x0/0x60 @ 1
 initcall init+0x0/0x60 returned 0 after 2 usecs
 calling  init+0x0/0x9a @ 1
 initcall init+0x0/0x9a returned 0 after 74 usecs

Fixes: e126ba97db ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Eli Cohen <eli@mellanox.com>
Cc: Saeed Mahameed <saeedm@nvidia.com>
Cc: Leon Romanovsky <leon@kernel.org>
Cc: linux-rdma@vger.kernel.org
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:34:23 +01:00
..
3com
8390
actions
adaptec
adi net: ethernet: adi: adin1110: Fix SPI transfers 2022-12-31 13:32:03 +01:00
aeroflex ethernet: aeroflex: fix potential skb leak in greth_init_rings() 2022-12-07 11:45:52 +01:00
agere
alacritech
allwinner
alteon
altera net: altera_tse: release phylink resources in tse_shutdown() 2022-11-24 09:34:43 +01:00
amazon net: ena: Update NUMA TPH hint register upon NUMA node update 2023-01-12 12:02:19 +01:00
amd amd-xgbe: Delay AN timeout during KR training 2023-02-01 08:34:10 +01:00
apm drivers: net: xgene: disable napi when register irq failed in xgene_enet_open() 2022-11-08 15:15:55 +01:00
apple net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:27 +01:00
aquantia aquantia: Do not purge addresses when setting the number of rings 2022-11-25 09:28:46 +00:00
arc
asix
atheros net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open() 2022-11-15 20:22:12 -08:00
broadcom bnxt: make sure we return pages to the pool 2023-01-18 11:58:32 +01:00
brocade
cadence
calxeda
cavium net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq 2022-12-06 12:41:46 +01:00
chelsio cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open() 2022-11-09 19:30:30 -08:00
cirrus
cisco
cortina
davicom net: dm9051: Fix missing dev_kfree_skb() in dm9051_loop_rx() 2022-11-23 12:43:14 +00:00
dec
dlink
emulex
engleder tsnep: Fix rotten packets 2022-11-22 15:47:17 +01:00
ezchip
faraday
freescale net: enetc: avoid deadlock in enetc_tx_onestep_tstamp() 2023-02-01 08:34:18 +01:00
fujitsu
fungible
google
hisilicon net: hns3: fix wrong use of rss size during VF rss config 2023-01-18 11:58:32 +01:00
huawei net: hinic: Fix error handling in hinic_module_init() 2022-11-11 19:57:37 -08:00
i825xx
ibm ibmveth: Reduce default tx queues to 8 2022-11-08 17:46:24 -08:00
intel igc: Fix PPS delta between two synchronized end-points 2023-01-18 11:58:31 +01:00
litex
marvell octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt 2023-01-24 07:24:43 +01:00
mediatek net: ethernet: mtk_eth_soc: drop packets to WDMA if the ring is full 2022-12-31 13:33:02 +01:00
mellanox net: mlx5: eliminate anonymous module_init & module_exit 2023-02-01 08:34:23 +01:00
micrel
microchip net: lan966x: add missing fwnode_handle_put() for ports node 2023-02-01 08:34:18 +01:00
microsoft net: mana: Fix race on per-CQ variable napi work_done 2022-12-06 11:21:34 +01:00
moxa
mscc
myricom myri10ge: Fix an error handling path in myri10ge_probe() 2022-12-31 13:32:56 +01:00
natsemi
neterion ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:26 +01:00
netronome nfp: correct desc type when header dma len is 4096 2022-12-04 15:41:03 -08:00
ni net: ethernet: nixge: fix NULL dereference 2022-11-28 11:09:51 +00:00
nvidia
nxp
oki-semi net: pch_gbe: fix pci device refcount leak while module exiting 2022-11-18 19:40:14 -08:00
packetengines
pasemi
pensando net: ionic: Fix error handling in ionic_init_module() 2022-11-14 18:50:53 -08:00
qlogic qed: allow sleep in qed_mcp_trace_dump() 2023-01-12 12:02:32 +01:00
qualcomm
rdc r6040: Fix kmemleak in probe and remove 2022-12-31 13:32:54 +01:00
realtek r8169: fix dmar pte write access is not set error 2023-01-24 07:24:31 +01:00
renesas ravb: Fix "failed to switch device to config mode" message during unbind 2023-01-07 11:11:50 +01:00
rocker
samsung
seeq
sfc sfc: fix potential memleak in __ef100_hard_start_xmit() 2022-11-22 11:28:16 +01:00
sgi
silan
sis
smsc
socionext
stmicro net: stmmac: fix invalid call to mdiobus_get_phy() 2023-02-01 08:34:20 +01:00
sun
sunplus eth: sp7021: drop free_netdev() from spl2sw_init_netdev() 2022-11-10 16:27:33 -08:00
synopsys
tehuti
ti net: ethernet: ti: Fix return type of netcp_ndo_start_xmit() 2022-12-31 13:33:00 +01:00
toshiba
tundra ethernet: tundra: free irq when alloc ring failed in tsi108_open() 2022-11-10 15:39:08 +01:00
vertexcom
via
wangxun
wiznet
xilinx net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:27 +01:00
xircom
xscale
dnet.c net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:27 +01:00
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile