RE: [PATCH] dpaa2-eth: debugfs: use div64_u64 for division

2020-04-29 Thread Ioana Ciornei
> Subject: [PATCH] dpaa2-eth: debugfs: use div64_u64 for division > > A plain 64-bit division breaks building on 32-bit architectures: > > ERROR: modpost: "__aeabi_uldivmod" > [drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.ko] undefined! > > As this fu

[PATCH] dpaa2-eth: debugfs: use div64_u64 for division

2020-04-29 Thread Arnd Bergmann
A plain 64-bit division breaks building on 32-bit architectures: ERROR: modpost: "__aeabi_uldivmod" [drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.ko] undefined! As this function is not performance critical, just use the external helper instead. Fixes: 460fd830dd9d ("dpaa2-eth: add channel