On Mon, Mar 16, 2026 at 10:56:32PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <[email protected]>
> 
> On 32-bit kernels, 64-bit integers cannot be passed to the division operator:
> 
> ld.lld-22: error: undefined symbol: __aeabi_uldivmod
> >>> referenced by lontium-lt8713sx.c
> >>>               
> >>> drivers/gpu/drm/bridge/lontium-lt8713sx.o:(lt8713sx_firmware_store) in 
> >>> archive vmlinux.a
> 
> Since this is a constant number used to divide a size_t, just change the type
> to that as well.

And if the firmware size doesn't fit 32bits, we are in trouble anyway.

Reviewed-by: Dmitry Baryshkov <[email protected]>


> 
> Fixes: 4037c6adc1f9 ("drm/bridge: add support for lontium lt8713sx bridge 
> driver")
> Signed-off-by: Arnd Bergmann <[email protected]>
> ---
>  drivers/gpu/drm/bridge/lontium-lt8713sx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

-- 
With best wishes
Dmitry

Reply via email to