summaryrefslogtreecommitdiff
path: root/scripts/reference_init.pl
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-12-08 18:35:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-16 18:42:41 +0300
commit95fc36a234da24bbc5f476f8104a5a15f99ed3e3 (patch)
treefb4ecfd5516edcf0ea81710e70070403ff442e75 /scripts/reference_init.pl
parent10d28cffb3f6ec7ad67f0a4cd32c2afa92909452 (diff)
downloadlinux-95fc36a234da24bbc5f476f8104a5a15f99ed3e3.tar.xz
intel_th: fix device leak on output open()
Make sure to drop the reference taken when looking up the th device during output device open() on errors and on close(). Note that a recent commit fixed the leak in a couple of open() error paths but not all of them, and the reference is still leaking on successful open(). Fixes: 39f4034693b7 ("intel_th: Add driver infrastructure for Intel(R) Trace Hub devices") Fixes: 6d5925b667e4 ("intel_th: Fix error handling in intel_th_output_open") Cc: stable@vger.kernel.org # 4.4: 6d5925b667e4 Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ma Ke <make24@iscas.ac.cn> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20251208153524.68637-2-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