Re: [PATCH 2/2] dma: ste_dma40: Fix potential null pointer dereference

From: Linus Walleij
Date: Thu Sep 12 2013 - 05:34:40 EST


On Mon, Sep 2, 2013 at 10:14 AM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:

> kcalloc can return NULL. Check the pointer before dereferencing.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

I guess Vinod can take this into fixes for v3.12?

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/