Re: [PATCH RESEND] Input: twl4030_keypad - fix potential NULLdereference in twl4030_kp_probe()

From: Dmitry Torokhov
Date: Tue Apr 12 2011 - 02:50:50 EST


On Tue, Apr 12, 2011 at 02:47:51PM +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@xxxxxxxxx>
> Reviewed-by: Felipe Balbi <balbi@xxxxxx>

Hmm, I thought I already applied it but I guess I managed to loose it.
Let's try again...

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/