mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
Merge "fix(el3-spmc): move ERROR line inside conditional" into integration
This commit is contained in:
commit
604b879778
1 changed files with 1 additions and 1 deletions
|
@ -1472,8 +1472,8 @@ static uint64_t ffa_run_handler(uint32_t smc_fid,
|
|||
|
||||
/* Check that the target SP exists. */
|
||||
sp = spmc_get_sp_ctx(target_id);
|
||||
ERROR("Unknown partition ID (0x%x).\n", target_id);
|
||||
if (sp == NULL) {
|
||||
ERROR("Unknown partition ID (0x%x).\n", target_id);
|
||||
return spmc_ffa_error_return(handle,
|
||||
FFA_ERROR_INVALID_PARAMETER);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue