diff options
author | Jonathan Wright <jonathan.wright@arm.com> | 2018-03-20 14:34:01 +0000 |
---|---|---|
committer | Jonathan Wright <jonathan.wright@arm.com> | 2018-03-27 13:38:08 +0100 |
commit | 2271cb054db6387bbb9215e09ae97a41a13aa4e3 (patch) | |
tree | 52763b4dfc5c4b241dbedc508cf6e6121935a29d /lib/psci/psci_common.c | |
parent | b7229e4919044a747c500c9d082168aa032eb3bf (diff) |
psci: initialize array fully to comply with MISRA
Initializes each element of the last_cpu_in_non_cpu_pd array in PSCI
stat implementation to -1, the reset value. This satisfies MISRA rule
9.3.
Previously, only the first element of the array was initialized to -1.
Change-Id: I666c71e6c073710c67c6d24c07a219b1feb5b773
Signed-off-by: Jonathan Wright <jonathan.wright@arm.com>
Diffstat (limited to 'lib/psci/psci_common.c')
0 files changed, 0 insertions, 0 deletions