linux-stable/drivers/input
Gabriel Fernandez 2e0e73d7b8 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>
2019-03-23 13:19:42 +01:00
..
gameport
joystick Input: xpad - add support for SteelSeries Stratus Duo 2019-01-31 08:12:35 +01:00
keyboard Input: st-keyscan - fix potential zalloc NULL dereference 2019-03-23 13:19:42 +01:00
misc Input: bma150 - register input device after setting private data 2019-02-20 10:18:32 +01:00
mouse Input: elan_i2c - add id for touchpad found in Lenovo s21e-20 2019-03-13 14:05:01 -07:00
rmi4 Input: synaptics-rmi4 - unlock on error 2017-01-12 11:39:26 +01:00
serio Input: i8042 - add Lenovo LaVie Z to the i8042 reset list 2018-08-03 07:55:11 +02:00
tablet Input: wacom_serial4 - add support for Wacom ArtPad II tablet 2019-03-13 14:05:01 -07:00
touchscreen input: rohm_bu21023: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT) 2018-09-26 08:36:39 +02:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c Input: leds - fix out of bound access 2018-05-09 09:50:20 +02:00
input-mt.c Input: update input_mt_report_pointer_emulation to support hovering 2016-06-01 14:21:10 -07:00
input-polldev.c
input.c Merge branch 'for-linus' into next 2016-07-19 11:02:56 -07:00
joydev.c Input: joydev - recognize devices with Z axis as joysticks 2016-09-26 20:03:06 -07:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix implicit conversion warning 2018-04-08 12:12:43 +02:00
sparse-keymap.c