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

2013-09-12 Thread Linus Walleij
On Mon, Sep 2, 2013 at 10:14 AM, Sachin Kamat wrote: > kcalloc can return NULL. Check the pointer before dereferencing. > > Signed-off-by: Sachin Kamat Acked-by: Linus Walleij I guess Vinod can take this into fixes for v3.12? Yours, Linus Walleij -- To unsubscribe from this list: send the

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

2013-09-12 Thread Linus Walleij
On Mon, Sep 2, 2013 at 10:14 AM, Sachin Kamat sachin.ka...@linaro.org wrote: kcalloc can return NULL. Check the pointer before dereferencing. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org I guess Vinod can take this into fixes for v3.12?

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

2013-09-02 Thread Sachin Kamat
kcalloc can return NULL. Check the pointer before dereferencing. Signed-off-by: Sachin Kamat --- drivers/dma/ste_dma40.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index df0a606..82d2b97 100644 --- a/drivers/dma/ste_dma40.c +++

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

2013-09-02 Thread Sachin Kamat
kcalloc can return NULL. Check the pointer before dereferencing. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/dma/ste_dma40.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index df0a606..82d2b97 100644 ---