- Kernel test robot reported the build errors on 32-bit platforms due to plain 64-by-32 division. Fix build error by using div_u64()
- Additional check for adma max page
Changelog =========
v1 -> v2: * Used lower_32_bits() to truncate the 64-bit address space for division * Included additional patch to check for adma max page
v2 -> v3: * Removed unwanter file change
v3 -> v4: * Used div_u64() to perform the 64-bit division of adma address differences
v4 -> v5: * Updated commit message of the patchsets
Mohan Kumar D (2): dmaengine: tegra210-adma: Use div_u64 for 64 bit division dmaengine: tegra210-adma: check for adma max page
drivers/dma/tegra210-adma.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-)