kernel_samsung_a53x/drivers/input/keyboard
Haoran Liu 84f997d13f Input: ipaq-micro-keys - add error handling for devm_kmemdup
[ Upstream commit 59b6a747e2d39227ac2325c5e29d6ab3bb070c2a ]

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: d7535ffa427b ("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-11-18 12:12:00 +01:00
..
adc-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adp5520-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adp5588-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adp5589-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amikbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
applespi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
applespi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
applespi_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atakbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cap11xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clps711x-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cros_ec_keyb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davinci_keyscan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dlink-dir685-touchkeys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ep93xx_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
goldfish_events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio_keys_polled.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hil_kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hilkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hpps2atkbd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx_sc_key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipaq-micro-keys.c Input: ipaq-micro-keys - add error handling for devm_kmemdup 2024-11-18 12:12:00 +01:00
iqs62x-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jornada680_kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jornada720_kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lkkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lm8323.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lm8333.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
locomokbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpc32xx-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maple_keyb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
matrix_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
max7359_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcs_touchkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpr121_touchkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk-pmic-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
newtonkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nomadik-ske-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nspire-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap4-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opencores-kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmic8xxx-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa27x_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa930_rotary.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qt1050.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qt1070.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qt2160.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s2mps23-key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s2mps25-key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s2mpu13-key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
samsung-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sh_keysc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
snvs_pwrkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spear-keyboard.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st-keyscan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stmpe-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stowaway.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4i-lradc-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sunkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc3589x-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tca6416-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tca8418_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tegra-kbc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tm2-touchkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
twl4030_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xtkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00