commit | 61c6e7531d3b66b33187b8cdd700fd8ab93ffd62 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Mon Sep 17 15:20:23 2012 +0530 |
committer | Vinod Koul <vinod.koul@linux.intel.com> | Tue Sep 18 09:04:52 2012 +0530 |
tree | e65fdbc3eae97f10ba118a9e151a71655b778a44 | |
parent | 2e2c682becb20416c140aa0d6d3137b51a5c76da [diff] |
DMA: PL330: Check the pointer returned by kzalloc kzalloc could return NULL. Hence add a check to avoid NULL pointer dereference. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Jassi Brar <jassisinghbrar@gmail.com> Cc: Stable <stable@vger.kernel.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>