Messages in this thread | | | From | Linus Walleij <> | Date | Fri, 10 Aug 2018 23:13:31 +0200 | Subject | Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation |
| |
On Mon, Aug 6, 2018 at 6:07 PM Anton Vasilyev <vasilyev@ispras.ru> wrote:
> There is no check that allocation in axp20x_funcs_groups_from_mask > is successful. > The patch adds corresponding check and return values. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Patch applied with Chen-Yu's ACK.
Yours, Linus Walleij
| |