From: Johan Hovold <johan@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: linux-kernel@vger.kernel.org, Johan Hovold <johan@kernel.org>
Subject: [PATCH v3 0/2] intel_th: fix device leak on output open()
Date: Mon, 8 Dec 2025 16:35:22 +0100 [thread overview]
Message-ID: <20251208153524.68637-1-johan@kernel.org> (raw)
This series fixes a device reference leak on output open(), a leak which
was only partially fixed in the upcoming v6.19-rc1.
Included is also a related clean up that switches to a more apt name for
a related error label.
Johan
Changes in v3:
- rebase on current mainline and commit 6d5925b667e4 ("intel_th: Fix
error handling in intel_th_output_open") (which fixes a reference
imbalance in v2)
Changes in v2:
- drop reference also on the last error path
Johan Hovold (2):
intel_th: fix device leak on output open()
intel_th: rename error label
drivers/hwtracing/intel_th/core.c | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
--
2.52.0
next reply other threads:[~2025-12-08 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-08 15:35 Johan Hovold [this message]
2025-12-08 15:35 ` [PATCH v3 1/2] intel_th: fix device leak on output open() Johan Hovold
2025-12-08 15:35 ` [PATCH v3 2/2] intel_th: rename error label Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251208153524.68637-1-johan@kernel.org \
--to=johan@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox