Files
linux/drivers/input/keyboard
Haoran Liu 66ccf5f743 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: 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-01 12:39:01 +00:00
..
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2005-04-16 15:20:36 -07:00
2022-09-29 16:25:42 -07:00
2022-08-16 12:46:26 +02:00
2022-09-29 16:25:42 -07:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00