linux-uconsole/drivers/net
Geert Uytterhoeven 5e7bd57ace net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit
[ Upstream commit 15bfe05c8d ]

On 64-bit (e.g. powerpc64/allmodconfig):

    drivers/net/ethernet/xilinx/ll_temac_main.c: In function 'temac_start_xmit_done':
    drivers/net/ethernet/xilinx/ll_temac_main.c:633:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
	dev_kfree_skb_irq((struct sk_buff *)cur_p->app4);
			  ^

cdmac_bd.app4 is u32, so it is too small to hold a kernel pointer.

Note that several other fields in struct cdmac_bd are also too small to
hold physical addresses on 64-bit platforms.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-03 17:04:28 +01:00
..
appletalk
arcnet
bonding
caif
can can: peak: fix potential bug in packet fragmentation 2018-01-23 19:50:16 +01:00
cris
dsa
ethernet net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit 2018-02-03 17:04:28 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
irda
phy net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround 2018-01-02 20:33:26 +01:00
plip
ppp pppoe: take ->needed_headroom of lower device into account on xmit 2018-01-31 12:06:13 +01:00
slip
team
usb lan78xx: Fix failure in USB Full Speed 2018-01-31 12:06:13 +01:00
vmxnet3 vmxnet3: repair memory leak 2018-01-31 12:06:13 +01:00
wan
wimax
wireless
xen-netback
dummy.c
eql.c
geneve.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c
vrf.c
vxlan.c
xen-netfront.c xen-netfront: remove warning when unloading module 2018-02-03 17:04:28 +01:00