summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-16 14:55:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-05-16 21:10:11 -0700
commitc8994b30d71d64d5dcc9bc0edbfdf367171aa96f (patch)
treeb7fb32da0a79238f9eb359e369b64e746867d9a2 /include/linux/fpga/fpga-mgr.h
parentec648fc0a00378359dbf719371ed36657d6ccf4a (diff)
Input: sparcspkr - fix refcount leak in bbc_beep_probe
of_find_node_by_path() calls of_find_node_opts_by_path(), which returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak. Fixes: 9c1a5077fdca ("input: Rewrite sparcspkr device probing.") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220516081018.42728-1-linmq006@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions