linux-kernelorg-stable/drivers/net/ethernet/broadcom
Leon Romanovsky db4278c55f devlink: Make devlink_register to be void
devlink_register() can't fail and always returns success, but all drivers
are obligated to check returned status anyway. This adds a lot of boilerplate
code to handle impossible flow.

Make devlink_register() void and simplify the drivers that use that
API call.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Vladimir Oltean <olteanv@gmail.com> # dsa
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-22 14:15:12 +01:00
..
bnx2x Networking fixes for 5.15-rc2, including fixes from bpf. 2021-09-16 13:05:42 -07:00
bnxt devlink: Make devlink_register to be void 2021-09-22 14:15:12 +01:00
genet net: bcmgenet: Request APD, DLL disable and IDDQ-SR 2021-09-21 10:58:35 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile
b44.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
b44.h
bcm63xx_enet.c bcm63xx_enet: delete a redundant assignment 2021-07-29 22:18:42 +01:00
bcm63xx_enet.h
bcm4908_enet.c
bcm4908_enet.h
bcmsysport.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
bcmsysport.h
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c
bgmac.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
bgmac.h
bnx2.c pci-v5.15-changes 2021-09-07 19:13:42 -07:00
bnx2.h
bnx2_fw.h
cnic.c
cnic.h
cnic_defs.h
cnic_if.h
sb1250-mac.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
tg3.c pci-v5.15-changes 2021-09-07 19:13:42 -07:00
tg3.h tg3: Read VPD with pci_vpd_alloc() 2021-08-20 15:49:00 -05:00
unimac.h