aboutsummaryrefslogtreecommitdiff
path: root/tftf/tests/runtime_services/secure_service/test_spm_cpu_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'tftf/tests/runtime_services/secure_service/test_spm_cpu_features.c')
-rw-r--r--tftf/tests/runtime_services/secure_service/test_spm_cpu_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tftf/tests/runtime_services/secure_service/test_spm_cpu_features.c b/tftf/tests/runtime_services/secure_service/test_spm_cpu_features.c
index c6470c14..8ce4cc3b 100644
--- a/tftf/tests/runtime_services/secure_service/test_spm_cpu_features.c
+++ b/tftf/tests/runtime_services/secure_service/test_spm_cpu_features.c
@@ -55,7 +55,7 @@ test_result_t test_simd_vectors_preserved(void)
smc_ret_values ret = cactus_req_simd_fill_send_cmd(SENDER, RECEIVER);
- if (ffa_func_id(ret) != FFA_MSG_SEND_DIRECT_RESP_SMC32) {
+ if (!is_ffa_direct_response(ret)) {
ERROR("Failed to send message. error: %x\n",
ffa_error_code(ret));
return TEST_RESULT_FAIL;