mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
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: 00d93611f0 ("ipmi:ipmb: Add the ability to have a separate slave and master device")
Signed-off-by: Miaoqian Lin <[email protected]>
Message-Id: <[email protected]>
Cc: [email protected] # v5.17+
Signed-off-by: Corey Minyard <[email protected]>