Re: [PATCH 2/4] accel/rocket: fix runtime PM refcount leak in rocket_job_run()
From: Igor Paunovic
Date: Wed Sep 16 2026 - 13:23:15 EST
Hi Wentao,
This looks already fixed in mainline by commit 9b2dedadf6a9
("accel/rocket: Fix error path handling in rocket_job_run()"), which
is in v7.3-rc1, and the same code is in the 7.2.y and 6.18.y stable
trees. There, rocket_job_run() already uses
pm_runtime_resume_and_get() and drops the reference with
pm_runtime_put() when iommu_attach_group() fails.
Your diff is against the older rocket_job.c (index ac51bff39833, the
v7.1/v7.2 file), so it no longer applies to current mainline.
I checked this with the help of an LLM assistant, against the
git.kernel.org trees.
Igor