mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 10:08:47 +00:00
coverity: fix MISRA violations
Fixes for the following MISRA violations: - Missing explicit parentheses on sub-expression - An identifier or macro name beginning with an underscore, shall not be declared - Type mismatch in BL1 SMC handlers and tspd_main.c Change-Id: I7a92abf260da95acb0846b27c2997b59b059efc4 Signed-off-by: Zelalem <zelalem.aweke@arm.com>
This commit is contained in:
parent
572fcdd547
commit
2fe75a2de0
9 changed files with 41 additions and 41 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
|
||||
* Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -601,7 +601,7 @@ void psci_release_pwr_domain_locks(unsigned int end_pwrlvl,
|
|||
unsigned int level;
|
||||
|
||||
/* Unlock top down. No unlocking required for level 0. */
|
||||
for (level = end_pwrlvl; level >= PSCI_CPU_PWR_LVL + 1U; level--) {
|
||||
for (level = end_pwrlvl; level >= (PSCI_CPU_PWR_LVL + 1U); level--) {
|
||||
parent_idx = parent_nodes[level - 1U];
|
||||
psci_lock_release(&psci_non_cpu_pd_nodes[parent_idx]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue