linux_dsm_epyc7002/drivers/net/ethernet/xilinx
Robert Hancock 23e6b2dc93 net: axienet: Fix casting of pointers to u32
This driver was casting skb pointers to u32 and storing them as such in
the DMA buffer descriptor, which is obviously broken on 64-bit. The area
of the buffer descriptor being used is not accessed by the hardware and
has sufficient room for a 32 or 64-bit pointer, so just store the skb
pointer as such.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-06 16:24:29 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ll_temac_main.c net: ll_temac: Fix compile error 2019-05-23 22:27:52 -07:00
ll_temac_mdio.c net: ll_temac: Prepare indirect register access for multicast support 2019-05-23 09:33:57 -07:00
ll_temac.h net: ll_temac: Prepare indirect register access for multicast support 2019-05-23 09:33:57 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xilinx_axienet_main.c net: axienet: Fix casting of pointers to u32 2019-06-06 16:24:29 -07:00
xilinx_axienet_mdio.c 1/2] net: axienet: use readx_poll_timeout() in mdio wait function 2019-05-20 20:00:46 -04:00
xilinx_axienet.h net: axienet: Fix casting of pointers to u32 2019-06-06 16:24:29 -07:00
xilinx_emaclite.c 2/2] net: xilinx_emaclite: use readx_poll_timeout() in mdio wait function 2019-05-20 20:00:46 -04:00