Files
linux/drivers/input/keyboard
Gabriel Fernandez 30dcfe6bef Input: st-keyscan - fix potential zalloc NULL dereference
[ Upstream commit 2439d37e1b ]

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 <dan.carpenter@oracle.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 12:05:23 +09:00
..
2012-11-24 00:05:38 -08:00
2005-04-16 15:20:36 -07:00
2016-08-29 20:00:58 -07:00
2012-11-24 00:05:38 -08:00
2016-08-29 20:00:58 -07:00
2013-12-06 02:06:29 -08:00