Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation
From: Linus Walleij
Date: Thu Apr 04 2019 - 23:36:43 EST
On Tue, Mar 12, 2019 at 10:19 PM Aditya Pakki <pakki001@xxxxxxx> wrote:
> axp20x_build_funcs_groups allocates groups via devm_kcalloc and tries to
> dereference without checking for NULL. This patch avoids such a
> scenario.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>
Patch applied.
Yours,
Linus Walleij