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:
9084338
)
Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe()
author
Axel Lin
<axel.lin@gmail.com>
Tue, 12 Apr 2011 06:50:02 +0000
(23:50 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 12 Apr 2011 06:51:18 +0000
(23:51 -0700)
We should first check whether platform data is NULL or not, before
dereferencing it to get the keymap.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
No differences found