linux-stable/drivers/input
Kunwu Chan fd238540fb Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails
[ Upstream commit bc4996184d ]

While input core can work with input->phys set to NULL userspace might
depend on it, so better fail probing if allocation fails. The system must
be in a pretty bad shape for it to happen anyway.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Link: https://lore.kernel.org/r/20240117073124.143636-1-chentao@kylinos.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 12:59:44 +02:00
..
gameport
joystick Input: xpad - add Razer Wolverine V2 support 2024-01-25 14:37:38 -08:00
keyboard Input: gpio_keys_polled - suppress deferred probe error for gpio 2024-03-26 18:21:47 -04:00
misc Input: soc_button_array - add mapping for airplane mode button 2024-01-05 15:12:28 +01:00
mouse Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-11-08 17:30:48 +01:00
rmi4 Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails 2024-04-13 12:59:44 +02:00
serio Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table 2024-03-01 13:16:45 +01:00
tablet Input: aiptek - properly check endpoint type 2022-03-23 09:13:29 +01:00
touchscreen Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case 2023-10-25 11:54:16 +02:00
Kconfig
Makefile
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input-poller.c
input-poller.h
input.c Input: add bounds checking to input_set_capability() 2022-05-25 09:17:52 +02:00
joydev.c Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl 2021-07-14 16:55:39 +02:00
matrix-keymap.c
mousedev.c
sparse-keymap.c