[PATCH v4 3/4] drm/mediatek: Fix unintentional integer overflow in multiplying different types
Fei Shao
fshao at chromium.org
Thu Aug 31 08:06:00 UTC 2023
On Fri, Jul 14, 2023 at 6:59 PM Jason-JH.Lin <jason-jh.lin at mediatek.com> wrote:
>
> 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 <jason-jh.lin at mediatek.com>
> Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>
Hi CK,
It seems like the series was accepted but this patch in particular
didn't make it into the tree. Could you take a look?
Regards,
Fei
More information about the dri-devel
mailing list