aboutsummaryrefslogtreecommitdiff
path: root/lib/random32.c
diff options
context:
space:
mode:
authorLiang He2022-10-01 14:42:24 -0700
committerDmitry Torokhov2022-10-09 22:26:53 -0700
commitfe5b6aaef72a0f7daa06e7960e0bee45c2984e41 (patch)
treebed0261158471d5a5d876af7c43519105d8b2191 /lib/random32.c
parentfdd7c96176de823229d88e787b9e554b0f05b6c1 (diff)
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 <windhl@126.com> Link: https://lore.kernel.org/r/20220711064300.358757-1-windhl@126.com [dtor: rearranged i8042_is_mr_coffee() a bit] Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions