diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-17 15:20:23 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-09-18 09:04:52 +0530 |
commit | 61c6e7531d3b66b33187b8cdd700fd8ab93ffd62 (patch) | |
tree | e65fdbc3eae97f10ba118a9e151a71655b778a44 /include/asm-generic/socket.h | |
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>
Diffstat (limited to 'include/asm-generic/socket.h')
0 files changed, 0 insertions, 0 deletions