linux-kernelorg-stable/drivers/net/ethernet/broadcom/bnxt
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
..
Makefile bnxt_en: move HWRM API implementation into separate file 2021-08-30 09:35:04 +01:00
bnxt.c Networking fixes for 5.15-rc2, including fixes from bpf. 2021-09-16 13:05:42 -07:00
bnxt.h bnxt_en: Fix 64-bit doorbell operation on 32-bit kernels 2021-09-01 10:37:05 +01:00
bnxt_coredump.h
bnxt_dcb.c bnxt_en: update all firmware calls to use the new APIs 2021-08-30 09:35:04 +01:00
bnxt_dcb.h
bnxt_debugfs.c
bnxt_debugfs.h
bnxt_devlink.c devlink: Make devlink_register to be void 2021-09-22 14:15:12 +01:00
bnxt_devlink.h bnxt_en: fix read of stored FW_PSID version on P5 devices 2021-09-05 20:43:03 +01:00
bnxt_dim.c
bnxt_ethtool.c bnxt_en: update all firmware calls to use the new APIs 2021-08-30 09:35:04 +01:00
bnxt_ethtool.h
bnxt_fw_hdr.h
bnxt_hsi.h
bnxt_hwrm.c bnxt_en: fix kernel doc warnings in bnxt_hwrm.c 2021-09-01 16:24:25 -07:00
bnxt_hwrm.h bnxt_en: support multiple HWRM commands in flight 2021-08-30 09:35:04 +01:00
bnxt_nvm_defs.h
bnxt_ptp.c bnxt_en: update all firmware calls to use the new APIs 2021-08-30 09:35:04 +01:00
bnxt_ptp.h
bnxt_sriov.c bnxt_en: update all firmware calls to use the new APIs 2021-08-30 09:35:04 +01:00
bnxt_sriov.h
bnxt_tc.c net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert 2021-09-16 14:09:30 +01:00
bnxt_tc.h
bnxt_ulp.c bnxt_en: update all firmware calls to use the new APIs 2021-08-30 09:35:04 +01:00
bnxt_ulp.h
bnxt_vfr.c bnxt_en: update all firmware calls to use the new APIs 2021-08-30 09:35:04 +01:00
bnxt_vfr.h
bnxt_xdp.c
bnxt_xdp.h