linux-stable/drivers/input/rmi4
Kunwu Chan ac1e0f080a 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 13:05:04 +02:00
..
Kconfig
Makefile
rmi_2d_sensor.c
rmi_2d_sensor.h
rmi_bus.c Input: synaptics-rmi4 - fix use after free in rmi_unregister_function() 2023-11-20 11:52:15 +01:00
rmi_bus.h
rmi_driver.c Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails 2024-04-13 13:05:04 +02:00
rmi_driver.h
rmi_f01.c
rmi_f03.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
rmi_f3a.c
rmi_f11.c
rmi_f12.c
rmi_f30.c
rmi_f34.c Input: synaptics-rmi4 - convert to use sysfs_emit() APIs 2022-09-27 09:00:41 -07:00
rmi_f34.h Input: synaptics-rmi4 - remove unneeded struct register_offset 2022-09-23 13:00:13 -07:00
rmi_f34v7.c Input: synaptics-rmi4 - drop useless gotos in rmi_f34v7_do_reflash() 2022-09-23 13:00:14 -07:00
rmi_f54.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
rmi_f55.c
rmi_i2c.c
rmi_smbus.c Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-11-08 14:10:58 +01:00
rmi_spi.c