]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: qcom: uefisecapp: Annotate acquiring locks for context tracking
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 16 Feb 2026 09:15:27 +0000 (10:15 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 18 Mar 2026 12:20:21 +0000 (07:20 -0500)
commit4bfb0ec11e20b9354beabf1b9f3e70e926c407bd
treede01ecb37bc47422fe78948ba5a2d4fcddffc2fa
parent055d79affa436d83a6e0d3ca6d054f11a7e3d4c1
firmware: qcom: uefisecapp: Annotate acquiring locks for context tracking

qcuefi_acquire() and qcuefi_release() end with mutex locked or unlocked
respectively, so annotate them so the lock usage will be tracked by
context tracking tools.

Note that mutex is tracked since commit 370f0a345a70 ("locking/mutex:
Support Clang's context analysis").

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260216091525.107935-5-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/firmware/qcom/qcom_qseecom_uefisecapp.c