[PATCH] pinctrl: nuvoton: wpcm450: off by one in wpcm450_gpio_register()

Linus Walleij linus.walleij at linaro.org
Thu Mar 24 11:30:29 AEDT 2022


On Fri, Mar 18, 2022 at 8:11 AM Dan Carpenter <dan.carpenter at oracle.com> wrote:

> The > WPCM450_NUM_BANKS should be >= or it leads to an out of bounds
> access on the next line.
>
> Fixes: a1d1e0e3d80a ("pinctrl: nuvoton: Add driver for WPCM450")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Patch applied!

Yours,
Linus Walleij


More information about the openbmc mailing list