diff options
author | Nathan Chancellor <[email protected]> | 2020-04-28 10:42:22 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-28 14:31:43 -0700 |
commit | 88fb831f773e6c51ec528eacb524f00f518f7e54 (patch) | |
tree | 1fe22586458530a1ac1dd4ac25724c070f1a971e /lib/test_overflow.c | |
parent | 9d42205036d4be7e45fb4dafe5173cd804fd9d5f (diff) |
dpaa2-eth: Use proper division helper in dpaa2_dbg_ch_show
When building arm32 allmodconfig:
ERROR: modpost: "__aeabi_uldivmod"
[drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.ko] undefined!
frames and cdan are both of type __u64 (unsigned long long) so we need
to use div64_u64 to avoid this issues.
Fixes: 460fd830dd9d ("dpaa2-eth: add channel stat to debugfs")
Link: https://github.com/ClangBuiltLinux/linux/issues/1012
Signed-off-by: Nathan Chancellor <[email protected]>
Reported-by: kernelci.org bot <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions