diff options
| author | Liang He <[email protected]> | 2022-10-01 21:42:24 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2022-10-10 05:26:53 +0000 |
| commit | fe5b6aaef72a0f7daa06e7960e0bee45c2984e41 (patch) | |
| tree | bed0261158471d5a5d876af7c43519105d8b2191 /lib/fault-inject.c | |
| parent | Input: i8042 - add LoongArch support in i8042-acpipnpio.h (diff) | |
| download | kernel-fe5b6aaef72a0f7daa06e7960e0bee45c2984e41.tar.gz kernel-fe5b6aaef72a0f7daa06e7960e0bee45c2984e41.zip | |
Input: i8042 - fix refount leak on sparc
In i8042_platform_init() and i8042_platform_exit(), we should call
of_node_put() for the reference 'root' returned by
of_find_node_by_path() which has increased the refcount.
Fixes: f57caaefacc2 ("[SERIO] i8042-sparcio.h: Convert to of_driver framework.")
Signed-off-by: Liang He <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[dtor: rearranged i8042_is_mr_coffee() a bit]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
