diff options
author | Fugang Duan <fugang.duan@nxp.com> | 2017-04-11 19:13:04 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-11 14:36:27 -0400 |
commit | 145d6e295f12681ed564d32fff3dabf9292f6871 (patch) | |
tree | 9e710b4334d59f0f2f8c1f3e1f77d8cd41175b20 /drivers/net/ethernet/freescale/gianfar_ptp.c | |
parent | 61e04ccbcbc4b1ba974af371e6f63906fb1d78fb (diff) | |
download | linux-145d6e295f12681ed564d32fff3dabf9292f6871.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar_ptp.c')
0 files changed, 0 insertions, 0 deletions