[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110401151843.GB2164@legolas.emea.dhcp.ti.com>
Date: Fri, 1 Apr 2011 18:18:44 +0300
From: Felipe Balbi <balbi@...com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org,
David Brownell <dbrownell@...rs.sourceforge.net>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org
Subject: Re: [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@...il.com>
Reviewed-by: Felipe Balbi <balbi@...com>
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists