On Thu, Dec 04, 2025 at 02:38:26PM +0000, Krzysztof Karas wrote:
> dma_addr calculations are carried out using 32-bit
> arithmetic, which could cause a truncation of the values
> before they are extended to 64 bits. Cast one of the operands
> to dma_addr_t, so 64-bit arithmetic is used.

dma_addr_t is not always 64 bit. The patch is correct, even
though I don't see a big probability that the issue might show
up. An ack from display people would help.

>From my side:

Reviewed-by: Andi Shyti <[email protected]>

with the commit log changed (but if this goes in, I can change it
on the fly).

Thanks,
Andi

Reply via email to