[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAC=S1ni1LvViXbP-euO8trwmwn68Y7-=UxX4W77fc10+TVi2PQ@mail.gmail.com>
Date: Thu, 31 Aug 2023 17:06:00 +0900
From: Fei Shao <fshao@...omium.org>
To: "Jason-JH.Lin" <jason-jh.lin@...iatek.com>,
Chun-Kuang Hu <chunkuang.hu@...nel.org>
Cc: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Alexandre Mergnat <amergnat@...libre.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Jason-ch Chen <jason-ch.chen@...iatek.com>,
Johnson Wang <johnson.wang@...iatek.com>,
Singo Chang <singo.chang@...iatek.com>,
Nancy Lin <nancy.lin@...iatek.com>,
Shawn Sung <shawn.sung@...iatek.com>,
dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH v4 3/4] drm/mediatek: Fix unintentional integer overflow
in multiplying different types
On Fri, Jul 14, 2023 at 6:59 PM Jason-JH.Lin <jason-jh.lin@...iatek.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@...iatek.com>
> Reviewed-by: Alexandre Mergnat <amergnat@...libre.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
Powered by blists - more mailing lists