Re: [PATCH 1/1] pinctrl: sunxi: Fix incorrect NULL check

From: Linus Walleij
Date: Wed Aug 07 2013 - 14:21:18 EST


On Mon, Jul 29, 2013 at 10:19 AM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:

> *map should be tested for NULL instead of map as kmalloc pointer
> is assigned to it. This also fixes a potential null pointer dereference
> bug later in the code.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Patch applied 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/