Re: [PATCH 2/2] DMA: PL330: Check the pointer returned by kzalloc

From: Jassi Brar
Date: Mon Sep 17 2012 - 07:59:20 EST


On Mon, Sep 17, 2012 at 3:20 PM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:
> kzalloc could return NULL. Hence add a check to avoid
> NULL pointer dereference.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>

Patch 1 and 2, both
Acked-by: Jassi Brar <jassisinghbrar@xxxxxxxxx>
--
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/