diff options
author | Marc Bonnici <marc.bonnici@arm.com> | 2021-09-03 14:10:58 +0100 |
---|---|---|
committer | Marc Bonnici <marc.bonnici@arm.com> | 2021-10-07 11:37:30 +0100 |
commit | eb581010c43750d039c3d76896b1a6fcbc3ab273 (patch) | |
tree | 8bdfcfadd1fc8fc2aa0f70f171448f95fcb154db | |
parent | a79fce8cf0a52a2deb9d4930a02dc55f84243a48 (diff) | |
download | arm-trusted-firmware-eb581010c43750d039c3d76896b1a6fcbc3ab273.tar.gz |
spmc: Update SPMC Handler Error Code
Ensure we respond with the correct FFA error code.
Change-Id: I77feab3f8baf11becb13848b70c3f1f0e9e44940
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
-rw-r--r-- | services/std_svc/spm/spmc/spmc_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/std_svc/spm/spmc/spmc_main.c b/services/std_svc/spm/spmc/spmc_main.c index a2d965ba6..586b12af3 100644 --- a/services/std_svc/spm/spmc/spmc_main.c +++ b/services/std_svc/spm/spmc/spmc_main.c @@ -759,6 +759,5 @@ uint64_t spmc_smc_handler(uint32_t smc_fid, WARN("Not Supported 0x%x FFA Request ID\n", smc_fid); break; } - - SMC_RET1(handle, SMC_UNK); + return spmc_ffa_error_return(handle, FFA_ERROR_NOT_SUPPORTED); } |