Merge pull request #515 from soby-mathew/sm/gcc_false_positive
PSCI: Resolve GCC static analysis false positive
This commit is contained in:
commit
a1411b29d7
|
@ -393,6 +393,7 @@ void psci_do_state_coordination(unsigned int end_pwrlvl,
|
|||
unsigned int start_idx, ncpus;
|
||||
plat_local_state_t target_state, *req_states;
|
||||
|
||||
assert(end_pwrlvl <= PLAT_MAX_PWR_LVL);
|
||||
parent_idx = psci_cpu_pd_nodes[cpu_idx].parent_node;
|
||||
|
||||
/* For level 0, the requested state will be equivalent
|
||||
|
|
Loading…
Reference in New Issue