linux/drivers/net/ethernet/broadcom/bnxt
Jakub Kicinski 766607570b ethernet: constify references to netdev->dev_addr in drivers
This big patch sprinkles const on local variables and
function arguments which may refer to netdev->dev_addr.

Commit 406f42fa0d ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.

Some of the changes here are not strictly required - const
is sometimes cast off but pointer is not used for writing.
It seems like it's still better to add the const in case
the code changes later or relevant -W flags get enabled
for the build.

No functional changes.

Link: https://lore.kernel.org/r/20211014142432.449314-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-14 09:22:11 -07: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 bnxt_en: Register devlink instance at the end devlink configuration 2021-09-27 16:31:58 +01:00
bnxt_devlink.h bnxt_en: Check devlink allocation and registration status 2021-09-24 14:12:56 +01:00
bnxt_dim.c
bnxt_ethtool.c bnxt: use netif_is_rxfh_configured instead of open code 2021-10-10 11:18:48 +01:00
bnxt_ethtool.h devlink: move request_firmware out of driver 2020-11-19 21:40:57 -08:00
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface to 1.10.2.52 2021-08-08 13:05:51 +01:00
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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-13 06:41:22 -07:00
bnxt_sriov.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
bnxt_sriov.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
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_en: Add doorbell information to bnxt_en_dev struct. 2020-05-04 10:44:11 -07:00
bnxt_vfr.c ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
bnxt_vfr.h bnxt_en: Free and allocate VF-Reps during error recovery. 2021-04-12 13:20:38 -07:00
bnxt_xdp.c net: broadcom: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:56 +01:00
bnxt_xdp.h
bnxt.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
bnxt.h bnxt_en: Fix TX timeout when TX ring size is set to the smallest 2021-09-20 10:08:36 +01:00
Makefile bnxt_en: move HWRM API implementation into separate file 2021-08-30 09:35:04 +01:00