diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-03-15 09:46:52 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-03-23 08:13:35 +0000 |
commit | cbc235799c7f6677920d6157f613de5067bceefc (patch) | |
tree | 7bfb3cff407326ad8f5af1efbd10f3f9b3a7484b | |
parent | a0d9ef5c54fb8ed43967b5a871346c635c6e6886 (diff) |
Cactus (legacy): Return error for invalid service IDs
Return SPM_INVALID_PARAMETER when Cactus receives an unknown service
ID in the payload of an MM_COMMUNICATE call. Previously, it was just
printing a message and returning success.
Change-Id: I0c892f5ff2d3e7637f2fc98476211369fab67881
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
-rw-r--r-- | cactus/legacy/cactus_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cactus/legacy/cactus_legacy.c b/cactus/legacy/cactus_legacy.c index 134bc46..43ea681 100644 --- a/cactus/legacy/cactus_legacy.c +++ b/cactus/legacy/cactus_legacy.c @@ -58,7 +58,7 @@ static int32_t cactus_handle_fast_request(int cc, default: INFO("Unsupported MM_COMMUNICATE_AARCH64 call with service ID 0x%x, ignoring it\n", sps->id); - return SPM_SUCCESS; + return SPM_INVALID_PARAMETER; } } |