Re: [PATCH v4] pinctrl: mediatek: fix global-out-of-bounds issue
From: Linus Walleij
Date: Sun Nov 21 2021 - 17:53:06 EST
On Wed, Nov 10, 2021 at 8:19 AM Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx> wrote:
> From: Guodong Liu <guodong.liu@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
>
> When eint virtual eint number is greater than gpio number,
> it maybe produce 'desc[eint_n]' size globle-out-of-bounds issue.
>
> Signed-off-by: Guodong Liu <guodong.liu@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx>
> Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> ---
> Changes in patch v4:
> 1. fix sort signed-off-by name.
> 2. add Reviewed-by.
Patch applied for fixes!
Yours,
Linus Walleij