commit | 145d6e295f12681ed564d32fff3dabf9292f6871 | [log] [tgz] |
---|---|---|
author | Fugang Duan <fugang.duan@nxp.com> | Tue Apr 11 19:13:04 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 11 14:36:27 2017 -0400 |
tree | 9e710b4334d59f0f2f8c1f3e1f77d8cd41175b20 | |
parent | 61e04ccbcbc4b1ba974af371e6f63906fb1d78fb [diff] |
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>