mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 13:56:45 +07:00
b261c20fe0
When building ax88796 on an ARM platform with 64-bit resource_size_t, we currently get drivers/net/ethernet/8390/ax88796.c:875: undefined reference to `__aeabi_uldivmod' because we do a division on the length of the MMIO resource. Since we know that this resource is very short, using an "unsigned long" instead of "resource_size_t" is entirely sufficient, and avoids this link-time error. Cc: Ben Dooks <ben-linux@fluff.org> Cc: netdev@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
8390.c | ||
8390.h | ||
8390p.c | ||
apne.c | ||
ax88796.c | ||
axnet_cs.c | ||
etherh.c | ||
hydra.c | ||
Kconfig | ||
lib8390.c | ||
mac8390.c | ||
Makefile | ||
mcf8390.c | ||
ne2k-pci.c | ||
ne-h8300.c | ||
ne.c | ||
pcnet_cs.c | ||
smc-ultra.c | ||
stnic.c | ||
wd.c | ||
zorro8390.c |