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

From: Fei Shao
Date: Thu Aug 31 2023 - 04:14:02 EST


On Fri, Jul 14, 2023 at 6:59 PM Jason-JH.Lin <jason-jh.lin@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>
> Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>

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