aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2025-05-10 08:48:52 +0000
committerHans Verkuil <[email protected]>2025-05-10 10:11:02 +0000
commit1b83a9f41bd13dae09fabf594918ea36a9bc0cfc (patch)
tree03984241981ac913db37eac4a44ed328d4a9c1f0 /drivers/gpu/drm/amd/amdgpu
parentmedia: uvcvideo: Use dev_err_probe for devm_gpiod_get_optional (diff)
downloadkernel-1b83a9f41bd13dae09fabf594918ea36a9bc0cfc.tar.gz
kernel-1b83a9f41bd13dae09fabf594918ea36a9bc0cfc.zip
media: amlogic: c3-mipi-csi2: Handle 64-bits division
The kernel test robot reports the following error when building on Hexagon with hexagon-allmodconfig. ERROR: modpost: "__hexagon_divdi3" [drivers/media/platform/amlogic/c3/mipi-csi2/c3-mipi-csi2.ko] undefined! The error is caused by using DIV_ROUND_UP() with a 64 bits divisor with a 32-bit dividend, which on Hexagon and clang-17 is resolved with a call to the __hexagon_divdi3() helper function, part of the compiler support library and not available when building Linux. Use DIV_ROUND_UP_ULL() to fix the build error and avoid calling the __hexagon_divdi3() helper function. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Jacopo Mondi <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions