fix: spurious error log message with mem share test
Made a log line as VERBOSE to avoid an error log printed in the output,
in a test that was validating an FF-A error return.
Change-Id: Iae8192e91c437eec541b5a1fe64f647a4dad729b
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/tftf/tests/runtime_services/secure_service/spm_common.c b/tftf/tests/runtime_services/secure_service/spm_common.c
index 2757343..4181588 100644
--- a/tftf/tests/runtime_services/secure_service/spm_common.c
+++ b/tftf/tests/runtime_services/secure_service/spm_common.c
@@ -443,9 +443,6 @@
struct ffa_memory_region *memory_region, uint32_t mem_func,
uint32_t fragment_length, uint32_t total_length, smc_ret_values *ret)
{
- ffa_id_t receiver =
- memory_region->receivers[0].receiver_permissions.receiver;
-
if (fragment_length != total_length) {
ERROR("For now, fragment_length and total_length need to be"
" equal");
@@ -469,7 +466,10 @@
}
if (is_ffa_call_error(*ret)) {
- ERROR("Failed to send message to: %x\n", receiver);
+ VERBOSE("Failed to send memory to: %x\n",
+ memory_region->receivers[0]
+ .receiver_permissions
+ .receiver);
return FFA_MEMORY_HANDLE_INVALID;
}