[PATCH v3 0/2] intel_th: fix device leak on output open()

From: Johan Hovold
Date: Mon Dec 08 2025 - 10:33:43 EST


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