OpenCloudOS-Kernel/include/linux/qed
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
..
common_hsi.h qed: Update common_hsi for FW ver 8.59.1.0 2021-10-04 12:55:49 +01:00
eth_common.h qed: Update qed_hsi.h for fw 8.59.1.0 2021-10-04 12:55:49 +01:00
fcoe_common.h qed: Remove e4_ and _e4 from FW HSI 2021-10-04 12:55:48 +01:00
iscsi_common.h qed: Remove e4_ and _e4 from FW HSI 2021-10-04 12:55:48 +01:00
iwarp_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
nvmetcp_common.h qed: Remove e4_ and _e4 from FW HSI 2021-10-04 12:55:48 +01:00
qed_chain.h qed: Fix kernel-doc warnings 2021-10-04 12:55:48 +01:00
qed_eth_if.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qed_fcoe_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_if.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qed_iov_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_iscsi_if.h qed: Fix kernel-doc warnings 2021-10-04 12:55:48 +01:00
qed_ll2_if.h qed: Fix kernel-doc warnings 2021-10-04 12:55:48 +01:00
qed_nvmetcp_if.h qed: Fix kernel-doc warnings 2021-10-04 12:55:48 +01:00
qed_nvmetcp_ip_services_if.h qed: Add IP services APIs support 2021-06-03 14:04:18 -07:00
qed_rdma_if.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qede_rdma.h qede: Notify qedr when mtu has changed 2020-09-11 10:24:54 -03:00
rdma_common.h qed: Update qed_hsi.h for fw 8.59.1.0 2021-10-04 12:55:49 +01:00
roce_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
storage_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
tcp_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00