linux-uconsole/drivers/input
Gabriel Fernandez 5050f03ff0 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 20:09:47 +01:00
..
gameport Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
joystick Input: xpad - add support for SteelSeries Stratus Duo 2019-01-31 08:14:37 +01:00
keyboard Input: st-keyscan - fix potential zalloc NULL dereference 2019-03-23 20:09:47 +01:00
misc Input: pwm-vibra - stop regulator after disabling pwm, not before 2019-03-23 20:09:42 +01:00
mouse Input: elan_i2c - add id for touchpad found in Lenovo s21e-20 2019-03-13 14:02:39 -07:00
rmi4 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-06-27 09:16:53 -07:00
serio Input: ps2-gpio - flush TX work when closing port 2019-03-23 20:09:44 +01:00
tablet Input: wacom_serial4 - add support for Wacom ArtPad II tablet 2019-03-13 14:02:38 -07:00
touchscreen Input: atmel_mxt_ts - don't try to free unallocated kernel memory 2019-01-09 17:38:41 +01:00
apm-power.c
evbug.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
evdev.c Input: evdev - add a schedule point in evdev_write() 2018-10-05 11:42:31 -07:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c treewide: Use struct_size() for kmalloc()-family 2018-06-06 11:15:43 -07:00
input-mt.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-06-27 09:16:53 -07:00
input-polldev.c
input.c Input: do not use WARN() in input_alloc_absinfo() 2018-08-08 11:23:47 -07:00
joydev.c
Kconfig docs: fix broken references with multiple hints 2018-06-15 18:10:01 -03:00
Makefile
matrix-keymap.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
mousedev.c Input: mousedev - add a schedule point in mousedev_write() 2018-10-04 17:42:26 -07:00
sparse-keymap.c