[PATCH] pinctrl: mediatek: Fix sizeof argument pctl->eint->base

Linus Walleij linus.walleij at linaro.org
Tue Apr 29 01:38:49 PDT 2025


On Thu, Apr 24, 2025 at 3:12 PM Colin Ian King <colin.i.king at gmail.com> wrote:

> The sizeof argument is incorrect when allocating pctl->eint->base, it
> should be *pctl->eint->base. (Generally, the size of void * is the same
> as void ** so nothing is breaking in this specific case). Fix this.
>
> Fixes: fe412e3a6c97 ("pinctrl: mediatek: common-v1: Fix EINT breakage on older controllers")
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>

The mtk eint handling has been refactored fixing this issue in the
process (AFAICT) so the patch does not apply to my devel branch.

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list