linux/drivers/net/ethernet/freescale
Michael Walle ecb0605810 net: enetc: use get/put_unaligned helpers for MAC address handling
The supplied buffer for the MAC address might not be aligned. Thus
doing a 32bit (or 16bit) access could be on an unaligned address. For
now, enetc is only used on aarch64 which can do unaligned accesses, thus
there is no error. In any case, be correct and use the get/put_unaligned
helpers.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-04 14:39:05 -07:00
..
dpaa bpf, devmap: Move drop error path to devmap for XDP_REDIRECT 2021-03-18 16:38:51 +01:00
dpaa2 dpaa2-eth: don't print error from dpaa2_mac_connect if that's EPROBE_DEFER 2021-05-21 14:49:40 -07:00
enetc net: enetc: use get/put_unaligned helpers for MAC address handling 2021-06-04 14:39:05 -07:00
fman of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
fs_enet of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
Kconfig net: selftest: fix build issue if INET is disabled 2021-04-28 14:06:45 -07:00
Makefile net: enetc: fix link error again 2021-04-22 13:23:07 -07:00
fec.h
fec_main.c net: fec: add defer probe for of_get_mac_address 2021-05-12 14:01:50 -07:00
fec_mpc52xx.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
fec_mpc52xx.h
fec_mpc52xx_phy.c
fec_ptp.c net: fec: ptp: avoid register access when ipg clock is disabled 2021-02-26 15:45:18 -08:00
fsl_pq_mdio.c
gianfar.c gianfar: Drop GFAR_MQ_POLLING support 2021-04-16 15:46:15 -07:00
gianfar.h gianfar: Drop GFAR_MQ_POLLING support 2021-04-16 15:46:15 -07:00
gianfar_ethtool.c
ucc_geth.c ethernet: ucc_geth: Use kmemdup() rather than kmalloc+memcpy 2021-05-23 18:51:42 -07:00
ucc_geth.h
ucc_geth_ethtool.c
xgmac_mdio.c