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:
7171511
)
pinctrl: sunxi: Fix potential null pointer dereference
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 30 May 2014 10:20:52 +0000
(15:50 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 19 Jun 2014 07:34:56 +0000
(09:34 +0200)
kzalloc can fail. Add a null check to avoid null pointer
dereference error while accessing the pointer later.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
No differences found