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

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 15:20 +0530, Sachin Kamat wrote: > kzalloc could return NULL. Hence add a check to avoid > NULL pointer dereference. > > Signed-off-by: Sachin Kamat > --- > drivers/dma/pl330.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/drivers/dma/pl

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

2012-09-17 Thread Jassi Brar
On Mon, Sep 17, 2012 at 3:20 PM, Sachin Kamat wrote: > kzalloc could return NULL. Hence add a check to avoid > NULL pointer dereference. > > Signed-off-by: Sachin Kamat Patch 1 and 2, both Acked-by: Jassi Brar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod