Re: [PATCH v1] Input: st-keyscan - fix potential zalloc NULL dereference

2019-02-16 Thread Dmitry Torokhov
On Tue, Feb 12, 2019 at 04:30:55PM +0100, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch fixes the following static checker warning: > > drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() > error: potential zalloc NULL dereference: 'keypad_data->input_dev' > >

[PATCH v1] Input: st-keyscan - fix potential zalloc NULL dereference

2019-02-12 Thread gabriel.fernandez
From: Gabriel Fernandez This patch fixes the following static checker warning: drivers/input/keyboard/st-keyscan.c:156 keyscan_probe() error: potential zalloc NULL dereference: 'keypad_data->input_dev' Reported-by: Dan Carpenter Signed-off-by: Gabriel Fernandez ---