summaryrefslogtreecommitdiff
path: root/scripts/reference_init.pl
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-26 17:53:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-16 18:43:04 +0300
commit9391380eb91ea5ac792aae9273535c8da5b9aa01 (patch)
tree59e33498a37b9e61e3f1f5e4e9cc2a9492cb08dd /scripts/reference_init.pl
parent0eb4ff6596114aabba1070a66afa2c2f5593739f (diff)
downloadlinux-9391380eb91ea5ac792aae9273535c8da5b9aa01.tar.xz
slimbus: core: fix device reference leak on report present
Slimbus devices can be allocated dynamically upon reception of report-present messages. Make sure to drop the reference taken when looking up already registered devices. Note that this requires taking an extra reference in case the device has not yet been registered and has to be allocated. Fixes: 46a2bb5a7f7e ("slimbus: core: Add slim controllers support") Cc: stable@vger.kernel.org # 4.16 Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20251126145329.5022-4-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/reference_init.pl')
0 files changed, 0 insertions, 0 deletions