linux/drivers/input/rmi4
Christophe JAILLET 839c422736 Input: synaptics-rmi4 - fix an unchecked out of memory error path
When extending the rmi_spi buffers, we must check that no out of memory
error occurs, otherwise we may access data above the currently allocated
memory.

Propagate the error code returned by 'rmi_spi_manage_pools()' instead.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-04-06 15:39:18 -07:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rmi_2d_sensor.c
rmi_2d_sensor.h
rmi_bus.c Input: synaptics_rmi4 - remove unneeded MODULE_VERSION() usage 2018-01-16 16:48:20 -08:00
rmi_bus.h
rmi_driver.c Merge branch 'next' into for-linus 2018-02-01 00:37:30 -08:00
rmi_driver.h Input: synaptics_rmi4 - remove unneeded MODULE_VERSION() usage 2018-01-16 16:48:20 -08:00
rmi_f01.c Revert "Input: synaptics_rmi4 - use devm_device_add_group() for attributes in F01" 2018-01-24 14:44:05 -08:00
rmi_f03.c Input: synaptics-rmi4 - log when we create a guest serio port 2018-01-22 16:27:40 -08:00
rmi_f11.c
rmi_f12.c
rmi_f30.c
rmi_f34.c Input: synaptic_rmi4 - remove duplicate include in F34 2018-01-05 09:29:09 -08:00
rmi_f34.h
rmi_f34v7.c
rmi_f54.c
rmi_f55.c
rmi_i2c.c Input: synaptics_rmi4 - remove unneeded MODULE_VERSION() usage 2018-01-16 16:48:20 -08:00
rmi_smbus.c Input: synaptics-rmi4 - RMI4 can also use SMBUS version 3 2017-11-07 17:45:07 -08:00
rmi_spi.c Input: synaptics-rmi4 - fix an unchecked out of memory error path 2018-04-06 15:39:18 -07:00