summaryrefslogtreecommitdiff
path: root/include/linux/stop_machine.h
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-12 07:44:45 +0300
committerCorey Minyard <cminyard@mvista.com>2022-05-12 18:00:04 +0300
commita508e33956b538e034ed5df619a73ec7c15bda72 (patch)
treef413bb97de9823e8585e1b182e1a865a6a2361c4 /include/linux/stop_machine.h
parent5396ccbd79ab03bd588bcfaa59f58c9bbf9fdcde (diff)
downloadlinux-a508e33956b538e034ed5df619a73ec7c15bda72.tar.xz
ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe
of_parse_phandle() 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: 00d93611f002 ("ipmi:ipmb: Add the ability to have a separate slave and master device") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Message-Id: <20220512044445.3102-1-linmq006@gmail.com> Cc: stable@vger.kernel.org # v5.17+ Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/linux/stop_machine.h')
0 files changed, 0 insertions, 0 deletions