diff options
author | Davidson K <davidson.kumaresan@arm.com> | 2021-02-05 18:27:05 +0530 |
---|---|---|
committer | György Szing <gyorgy.szing@arm.com> | 2021-07-02 10:09:12 +0200 |
commit | a30e77ce06bde1990bd3b7a8df469bfc499cee32 (patch) | |
tree | e0bd1bdae711a885d67eb91d75c9097b9ad8b2a5 | |
parent | eff9cfdac7c4eb2e9a79f21a7efe374226673ea7 (diff) | |
download | trusted-services-a30e77ce06bde1990bd3b7a8df469bfc499cee32.tar.gz |
Set in_region_count to 0 during memory retrieve
in_region_count will be used during the lend, donate and share memory
transactions and it is not needed for the retrieve request.
Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: Id9f805aa7b9e16878a1114f71cd465dc97cc5dfd
-rw-r--r-- | components/rpc/ffarpc/endpoint/ffarpc_call_ep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rpc/ffarpc/endpoint/ffarpc_call_ep.c b/components/rpc/ffarpc/endpoint/ffarpc_call_ep.c index 99a505664..a502d82bb 100644 --- a/components/rpc/ffarpc/endpoint/ffarpc_call_ep.c +++ b/components/rpc/ffarpc/endpoint/ffarpc_call_ep.c @@ -75,7 +75,7 @@ static void init_shmem_buf(struct ffa_call_ep *call_ep, uint16_t source_id, struct sp_memory_descriptor desc = { }; struct sp_memory_access_descriptor acc_desc = { }; struct sp_memory_region region = { }; - uint32_t in_region_count = 1; + uint32_t in_region_count = 0; uint32_t out_region_count = 1; uint64_t handle = 0; rpc_status_t rpc_status = TS_RPC_ERROR_INTERNAL; |