mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 22:05:40 +00:00
fix(el3-spmc): deadlock when relinquishing memory
Do not forget to pass via err_unlock_mailbox: label. Change-Id: Icfb997b1c7cce196003af2c28bffc50dc73e30b4 Signed-off-by: Lukas Hanel <lukas.hanel@trustonic.com>
This commit is contained in:
parent
be075c3edf
commit
ac568b2bcc
1 changed files with 2 additions and 1 deletions
|
@ -1347,7 +1347,8 @@ spmc_ffa_mem_retrieve_req(uint32_t smc_fid,
|
||||||
if (req->emad_count == 0U) {
|
if (req->emad_count == 0U) {
|
||||||
WARN("%s: unsupported attribute desc count %u.\n",
|
WARN("%s: unsupported attribute desc count %u.\n",
|
||||||
__func__, obj->desc.emad_count);
|
__func__, obj->desc.emad_count);
|
||||||
return -EINVAL;
|
ret = FFA_ERROR_INVALID_PARAMETER;
|
||||||
|
goto err_unlock_mailbox;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Determine the appropriate minimum descriptor size. */
|
/* Determine the appropriate minimum descriptor size. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue