summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2025-09-28 04:19:10 +0300
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2025-09-28 04:20:30 +0300
commit40d4c761200b796a44bf2c7675ae09c87b17d4af (patch)
treeb558f241c27f0c485934700feb42c6805af2c556 /tools/testing/selftests/net/lib/py/utils.py
parente216c49b3ebb0729c50870ebfb8b798376dc1edf (diff)
downloadlinux-40d4c761200b796a44bf2c7675ae09c87b17d4af.tar.xz
firewire: core: fix undefined reference error in ARM EABI
For ARM EABI, GCC generates a reference to __aeabi_uldivmod when compiling a division of 64-bit integer with 32-bit integer. This function is not available in Linux kernel. In such cases, helper macros are defined in include/linux/math64.h. This commit replaces the division with div_u64(). Fixes: 8ec6a8ec23b9 ("firewire: core: suppress overflow warning when computing jiffies from isochronous cycle") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202509270428.FZaO2PPq-lkp@intel.com/ Link: https://lore.kernel.org/r/20250928011910.581475-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions