Re: [PATCH] firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire()
From: Bjorn Andersson
Date: Fri Aug 30 2024 - 23:19:27 EST
On Thu, 29 Aug 2024 22:23:04 +0300, Dan Carpenter wrote:
> 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.
>
>
Applied, thanks!
[1/1] firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire()
commit: db213b0cfe3268d8b1d382b3bcc999c687a2567f
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>