net: fec: avoid BD pointer type cast to 32bit
authorFugang Duan <fugang.duan@nxp.com>
Tue, 11 Apr 2017 11:13:04 +0000 (19:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 18:36:27 +0000 (14:36 -0400)
commit145d6e295f12681ed564d32fff3dabf9292f6871
tree9e710b4334d59f0f2f8c1f3e1f77d8cd41175b20
parent61e04ccbcbc4b1ba974af371e6f63906fb1d78fb
net: fec: avoid BD pointer type cast to 32bit

In aarch64 system, the BD pointer is 64bit, and the high-order 32-bits
of the address is effective, so replace usigned with (void *) type to
aovid 64bit address is casted to 32bit in .fec_enet_get_nextdesc() and
.fec_enet_get_prevdesc() functions.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c