diff options
| author | Haoran Liu <[email protected]> | 2023-12-03 19:00:23 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-12-03 19:04:34 +0000 |
| commit | 59b6a747e2d39227ac2325c5e29d6ab3bb070c2a (patch) | |
| tree | eaa0389e7b23d9f5067dd1dbe95eadc39d8bd113 /fs/ubifs/commit.c | |
| parent | Input: amimouse - convert to platform remove callback returning void (diff) | |
| download | kernel-59b6a747e2d39227ac2325c5e29d6ab3bb070c2a.tar.gz kernel-59b6a747e2d39227ac2325c5e29d6ab3bb070c2a.zip | |
Input: ipaq-micro-keys - add error handling for devm_kmemdup
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: d7535ffa427b ("Input: driver for microcontroller keys on the iPaq h3xxx")
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
