summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorGabriele Monaco <gmonaco@redhat.com>2026-08-03 17:06:22 +0200
committerGabriele Monaco <gmonaco@redhat.com>2026-08-04 16:11:27 +0200
commit785095112f4198de49760552374f364043c8dbdf (patch)
tree5d768a423f324227b0110748d5e1f919b94f8aed /lib/debugobjects.c
parent984b5a36fd12d1849511a45fda32036fe2b0d004 (diff)
rv: Fix 32-bit build of nomiss KUnit test
Commit 8da2a8838365 ("rv: Add KUnit tests for some DA/HA monitors") introduced a division of a 64-bit value by 1000 in the nomiss KUnit test. This does not compile on 32-bit systems, as standard division of 64-bit values leads to an undefined reference to __udivdi3. Fix the build on 32-bit systems by using div_u64(). Fixes: 8da2a8838365 ("rv: Add KUnit tests for some DA/HA monitors") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202608020311.hYjqOG5k-lkp@intel.com Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://lore.kernel.org/r/20260803150622.322806-1-gmonaco@redhat.com Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions