[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbnD8-VWjx2_JvtAhgupEB3YX7KJ7frMwBbTujEyc9Q6w@mail.gmail.com>
Date: Fri, 5 Apr 2019 10:36:25 +0700
From: Linus Walleij <linus.walleij@...aro.org>
To: Aditya Pakki <pakki001@....edu>
Cc: Kangjie Lu <kjlu@....edu>, Chen-Yu Tsai <wens@...e.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation
On Tue, Mar 12, 2019 at 10:19 PM Aditya Pakki <pakki001@....edu> 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@....edu>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists