From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Guangshuo Li <liguangshuo@mail.sdu.edu.cn>,
Amit Kucheria <amitk@kernel.org>,
Thara Gopinath <thara.gopinath@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>
Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] thermal: qcom: tsens: Fix potential repeated removal of shared debugfs root
Date: Mon, 30 Nov 2026 12:15:10 +0100 [thread overview]
Message-ID: <9b728dd9-d20d-47b2-bac8-491c90e1e8d7@oss.qualcomm.com> (raw)
In-Reply-To: <20261120173533.3924126-1-liguangshuo@mail.sdu.edu.cn>
On 11/20/26 6:35 PM, Guangshuo Li wrote:
> Each TSENS instance stores the same debugfs root and removes it during
> teardown. Removing one instance therefore removes the files of its
> peers, and subsequent removal operates on the same root again.
>
> Own the root at driver initialization and exit. Each instance only
> removes its own directory, leaving the shared root to the driver.
>
> This issue was found by our static analysis tool under development.
>
> Fixes: 7c938f4837ab ("drivers: thermal: tsens: Add debugfs support")
> Cc: stable@vger.kernel.org
> Signed-off-by: Guangshuo Li <liguangshuo@mail.sdu.edu.cn>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
prev parent reply other threads:[~2026-11-30 11:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 17:35 Guangshuo Li
2026-11-30 11:15 ` Konrad Dybcio [this message]
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=9b728dd9-d20d-47b2-bac8-491c90e1e8d7@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=amitk@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=liguangshuo@mail.sdu.edu.cn \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=stable@vger.kernel.org \
--cc=thara.gopinath@gmail.com \
/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
all inboxes | Powered by JetHome®