linux-stable/drivers/input
Haoran Liu 3730466598 Input: ipaq-micro-keys - add error handling for devm_kmemdup
[ Upstream commit 59b6a747e2 ]

Check the return value of i2c_add_adapter. Static analysis revealed that
the function did not properly handle potential failures of
i2c_add_adapter, which could lead to partial initialization of the I2C
adapter and unstable operation.

Signed-off-by: Haoran Liu <liuhaoran14@163.com>
Link: https://lore.kernel.org/r/20231203164653.38983-1-liuhaoran14@163.com
Fixes: d7535ffa42 ("Input: driver for microcontroller keys on the iPaq h3xxx")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-08 11:25:03 +01:00
..
gameport
joystick Input: xpad - add PXN V900 support 2023-10-25 11:13:30 +02:00
keyboard Input: ipaq-micro-keys - add error handling for devm_kmemdup 2024-01-08 11:25:03 +01:00
misc Input: powermate - fix use-after-free in powermate_config_complete 2023-10-25 11:13:30 +02:00
mouse Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-11-08 11:21:08 +01:00
rmi4 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-11-08 11:21:08 +01:00
serio treewide: Remove uninitialized_var() usage 2023-08-11 11:33:32 +02:00
tablet Input: aiptek - properly check endpoint type 2022-03-23 09:01:35 +01:00
touchscreen Input: ads7846 - don't check penirq immediately for 7845 2023-03-11 16:26:40 +01:00
Kconfig
Makefile
apm-power.c
evbug.c
evdev.c Input: evdev - call input_flush_device() on release(), not flush() 2020-06-03 08:17:56 +02:00
ff-core.c
ff-memless.c Input: ff-memless - kill timer in destroy() 2019-11-20 17:59:28 +01:00
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input.c Input: add bounds checking to input_set_capability() 2022-05-25 08:41:18 +02:00
joydev.c Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl 2021-07-20 16:17:28 +02:00
matrix-keymap.c
mousedev.c
sparse-keymap.c