Thread (7 messages) 7 messages, 3 authors, 2023-08-31

Re: [PATCH v4 3/4] drm/mediatek: Fix unintentional integer overflow in multiplying different types

flat view

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2023-07-17 07:47:35
Also in: dri-devel, linux-mediatek, lkml

Il 14/07/23 11:49, Jason-JH.Lin ha scritto:
1. Instead of multiplying 2 variable of different types. Change to
assign a value of one variable and then multiply the other variable.

2. Add a int variable for multiplier calculation instead of calculating
different types multiplier with dma_addr_t variable directly.

Fixes: 1a64a7aff8da ("drm/mediatek: Fix cursor plane no update")
Signed-off-by: Jason-JH.Lin <redacted>
Reviewed-by: Alexandre Mergnat <redacted>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help