lkml.org 
[lkml]   [2011]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe()
On Fri, Apr 01, 2011 at 11:08:03PM +0800, Axel Lin wrote:
> 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>

--
balbi


\
 
 \ /
  Last update: 2011-04-01 17:21    [W:3.834 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site