Files
linux/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
..
2015-08-13 21:12:17 -07:00
2017-06-17 06:39:35 +02:00
2017-12-16 10:33:56 +01:00
2017-10-08 10:14:18 +02:00
2018-01-31 12:06:13 +01:00
2015-10-21 19:36:10 -07:00
2014-10-07 13:22:11 -04:00
2015-07-08 16:00:09 -07:00
2015-10-13 04:55:07 -07:00
2017-11-18 11:11:05 +01:00
2016-04-12 09:08:58 -07:00
2017-07-05 14:37:19 +02:00