git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2c682
)
DMA: PL330: Check the pointer returned by kzalloc
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 17 Sep 2012 09:50:23 +0000
(15:20 +0530)
committer
Vinod Koul
<vinod.koul@linux.intel.com>
Tue, 18 Sep 2012 03:34:52 +0000
(09:04 +0530)
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>
No differences found