linux/drivers/net/phy/mscc
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
..
Makefile net: phy: mscc: improved serdes calibration applied to VSC8514 2021-02-16 14:06:18 -08:00
mscc_fc_buffer.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_mac.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_macsec.c net: phy: mscc: fix macsec key length 2021-06-24 12:41:12 -07:00
mscc_macsec.h net: phy: mscc: fix macsec key length 2021-06-24 12:41:12 -07:00
mscc_main.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
mscc_ptp.c net: phy: mscc: make some arrays static const, makes object smaller 2021-08-02 09:15:07 -07:00
mscc_ptp.h net: phy: mscc: use new PTP_MSGTYPE_* defines 2020-11-25 12:23:21 -08:00
mscc_serdes.c net: phy: mscc: improved serdes calibration applied to VSC8514 2021-02-16 14:06:18 -08:00
mscc_serdes.h net: phy: mscc: improved serdes calibration applied to VSC8514 2021-02-16 14:06:18 -08:00
mscc.h net: phy: mscc: coma mode disabled for VSC8514 2021-02-16 14:06:19 -08:00