[PATCH] pinctrl: fix Null pointer dereference

Linus Walleij linus.walleij at linaro.org
Thu Oct 3 07:08:31 PDT 2024


On Thu, Oct 3, 2024 at 4:33 AM clingfei <clf700383 at gmail.com> wrote:

> pinmux_generic_get_function may returns NULL, and its retval is
> dereferenced without check, which will cause a null pointer dereference.
>
> Signed-off-by: clingfei <clf700383 at gmail.com>

Fixed up topic, added Drew's tag and applied, thanks!

Yours,
Linus Walleij



More information about the linux-riscv mailing list