aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaykumar Pitambarbhai Patel <jay08ec71@yahoo.com>2020-01-09 15:25:58 +0530
committerEdison Ai <edison.ai@arm.com>2020-01-10 09:50:57 +0800
commit0c7a038f801ef0ba7d2f3cb2c6787e912e4d6eec (patch)
treeac040408d5b178059399d09cb2ae0eb5effe6415
parent98e6ce4967a3a2c81aee3bddc55579bda1fa6789 (diff)
downloadtrusted-firmware-m-0c7a038f801ef0ba7d2f3cb2c6787e912e4d6eec.tar.gz
Core: Fix the access to service signal
Service is a array variable and access to element should be using through array index. Signed-off-by: Jaykumar Pitambarbhai Patel <jaykumar.pitambarbhaipatel@arm.com> Change-Id: I607d69202ff67e78810a490a462c94ec53fbbcb4
-rw-r--r--secure_fw/spm/spm_api_ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/secure_fw/spm/spm_api_ipc.c b/secure_fw/spm/spm_api_ipc.c
index 80b43519fe..cca156e224 100644
--- a/secure_fw/spm/spm_api_ipc.c
+++ b/secure_fw/spm/spm_api_ipc.c
@@ -605,7 +605,7 @@ void tfm_spm_init(void)
tfm_core_panic();
}
service[i].partition = partition;
- partition->runtime_data.assigned_signals |= service->service_db->signal;
+ partition->runtime_data.assigned_signals |= service[i].service_db->signal;
tfm_list_init(&service[i].handle_list);
tfm_list_add_tail(&partition->runtime_data.service_list,