Skip to content

intel_th: fix device leak on output open()

Johan Hovold lkml stable 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v21 patch 0 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

- rebase on current mainline and commit 6d5925b667e4 ("intel_th: Fix error handling in intel_th_output_open") (which fixes a reference imbalance in v2)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2intel_th: fix device leak on output open()drivers/hwtracing/intel_th/core.c+16 -30 replies
2/2intel_th: rename error labeldrivers/hwtracing/intel_th/core.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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(-)
Signature · 1 line
2.52.0