Re: [PATCH] Input: twl4030_keypad - fix potential NULL dereferencein twl4030_kp_probe()

From: Felipe Balbi
Date: Fri Apr 01 2011 - 11:18:56 EST


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@xxxxxxxxx>

Reviewed-by: Felipe Balbi <balbi@xxxxxx>

--
balbi
--
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/