summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-26 17:53:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-16 18:43:04 +0300
commit0b52edaeb5c2ae9d9d25476554671014d2a1057b (patch)
tree40ae2772aaa5b2a182f184630426b8bcbc3cf14b /scripts
parentaa3f64a98b23c524ce768661779d7f640f59c4da (diff)
downloadlinux-0b52edaeb5c2ae9d9d25476554671014d2a1057b.tar.xz
slimbus: core: fix OF node leak on registration failure
Make sure to drop the OF node reference taken when initialising and registering the slimbus device also on registration failure by releasing it in the destructor as expected. Fixes: 7588a511bdb4 ("slimbus: core: add support to device tree helper") Fixes: 01360857486c ("slimbus: core: Fix mismatch in of_node_get/put") Cc: Saravana Kannan <saravanak@google.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20251126145329.5022-2-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions