diff options
| author | Arnd Bergmann <[email protected]> | 2025-03-14 16:02:44 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2025-03-16 10:00:34 +0000 |
| commit | 48a136639ec233614a61653e19f559977d5da2b5 (patch) | |
| tree | 8f583baa5b86479b2f9d9b1786e1557bb5982aa4 /lib/crypto/mpi/mpi-add.c | |
| parent | watchdog: npcm: Remove unnecessary NULL check before clk_prepare_enable/clk_d... (diff) | |
| download | kernel-48a136639ec233614a61653e19f559977d5da2b5.tar.gz kernel-48a136639ec233614a61653e19f559977d5da2b5.zip | |
watchdog: aspeed: fix 64-bit division
On 32-bit architectures, the new calculation causes a build failure:
ld.lld-21: error: undefined symbol: __aeabi_uldivmod
Since neither value is ever larger than a register, cast both
sides into a uintptr_t.
Fixes: 5c03f9f4d362 ("watchdog: aspeed: Update bootstatus handling")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
