aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2013-04-19 08:47:26 +0000
committerDavid S. Miller <[email protected]>2013-04-19 17:57:48 -0400
commitb261c20fe089859cc43642e7006921498327fe3d (patch)
tree25398a6f49dba57a238b45bcee4e71c59037a128 /lib/memory-notifier-error-inject.c
parente393ce57806cb208574abaec78decd5665416895 (diff)
net: ax88796: avoid 64 bit arithmetic
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 <[email protected]> Cc: [email protected] Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions