Re: [PATCH] pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
From: Linus Walleij
Date: Fri Jun 03 2022 - 06:13:37 EST
On Thu, Apr 21, 2022 at 4:28 AM Haowen Bai <baihaowen@xxxxxxxxx> wrote:
> pdesc could be null but still dereference pdesc->name and it will lead to
> a null pointer access. So we move a null check before dereference.
>
> Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>
Patch applied, sorry for missing it!
Yours,
Linus Walleij