aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-08-29 22:23:04 +0300
committerBjorn Andersson <[email protected]>2024-08-30 22:17:50 -0500
commitdb213b0cfe3268d8b1d382b3bcc999c687a2567f (patch)
tree2d0ccbd746cd4f01d188fe40f303ecf2e25df81e /tools/perf/scripts/python/libxed.py
parentc158ceb826068a8bbe3c9e78df420f47ba53c8a8 (diff)
firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire()
If the __qcuefi pointer is not set, then in the original code, we would hold onto the lock. That means that if we tried to set it later, then it would cause a deadlock. Drop the lock on the error path. That's what all the callers are expecting. Fixes: 759e7a2b62eb ("firmware: Add support for Qualcomm UEFI Secure Application") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions