mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 13:55:56 +00:00
fix(spmc): fix incorrect FF-A version usage
Fix the wrong FF-A version being used for retrieving existing memory descriptors for v1.0 clients. Internally these should always be stored using the latest version rather than client version. Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: Ibee1b2452c8d6ebd23bbd9d703c96ca185444093
This commit is contained in:
parent
3954bc3c03
commit
25eb2d41a6
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ static int spmc_shmem_check_state_obj(struct spmc_shmem_obj *obj,
|
|||
if ((obj->desc.handle != inflight_obj->desc.handle) &&
|
||||
(obj->desc_size == obj->desc_filled)) {
|
||||
other_mrd = spmc_shmem_obj_get_comp_mrd(inflight_obj,
|
||||
ffa_version);
|
||||
FFA_VERSION_COMPILED);
|
||||
if (other_mrd == NULL) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue