[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173445353299.470882.17564015032047540036.b4-ty@kernel.org>
Date: Tue, 17 Dec 2024 10:38:53 -0600
From: Bjorn Andersson <andersson@...nel.org>
To: Konrad Dybcio <konradybcio@...nel.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: stable@...r.kernel.org
Subject: Re: (subset) [PATCH v2 1/2] soc: qcom: pmic_glink: fix scope of __pmic_glink_lock in pmic_glink_rpmsg_probe()
On Thu, 22 Aug 2024 18:48:14 +0200, Krzysztof Kozlowski wrote:
> File-scope "__pmic_glink_lock" mutex protects the filke-scope
> "__pmic_glink", thus reference to it should be obtained under the lock,
> just like pmic_glink_rpmsg_remove() is doing. Otherwise we have a race
> during if PMIC GLINK device removal: the pmic_glink_rpmsg_probe()
> function could store local reference before mutex in driver removal is
> acquired.
>
> [...]
Applied, thanks!
[2/2] soc: qcom: pmic_glink: simplify locking with guard()
commit: e9f826b0459f1376b9c8beba019b84f9878419c6
Best regards,
--
Bjorn Andersson <andersson@...nel.org>
Powered by blists - more mailing lists