Re: [PATCH 1/1] pinctrl: sunxi: Fix potential null pointer dereference

From: Linus Walleij
Date: Mon Jun 09 2014 - 09:16:48 EST


On Fri, May 30, 2014 at 12:20 PM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:

> kzalloc can fail. Add a null check to avoid null pointer
> dereference error while accessing the pointer later.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>

Patch applied for fixes with Maxime's ACK.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/