summaryrefslogtreecommitdiff
path: root/tests/runtime_services
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtime_services')
-rw-r--r--tests/runtime_services/standard_service/psci/api_tests/system_suspend/test_psci_system_suspend.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runtime_services/standard_service/psci/api_tests/system_suspend/test_psci_system_suspend.c b/tests/runtime_services/standard_service/psci/api_tests/system_suspend/test_psci_system_suspend.c
index 5e1cbcd..4f8b29b 100644
--- a/tests/runtime_services/standard_service/psci/api_tests/system_suspend/test_psci_system_suspend.c
+++ b/tests/runtime_services/standard_service/psci/api_tests/system_suspend/test_psci_system_suspend.c
@@ -499,7 +499,7 @@ test_result_t test_psci_sys_susp_pending_irq(void)
unsigned int core_pos = platform_get_core_pos(read_mpidr_el1());
const unsigned int sgi_id = IRQ_NS_SGI_0;
int sgi_ret;
- test_result_t psci_ret;
+ int psci_ret;
test_result_t ret = TEST_RESULT_SUCCESS;
if ((is_psci_sys_susp_supported()) == PSCI_E_NOT_SUPPORTED) {
@@ -658,9 +658,10 @@ static unsigned int get_deepest_power_state(void)
{
unsigned int test_suspend_type;
unsigned int suspend_state_id;
- unsigned int power_level, ret;
+ unsigned int power_level;
unsigned int power_state = 0;
unsigned int pstate_id_idx[PLAT_MAX_PWR_LEVEL + 1];
+ int ret;
INIT_PWR_LEVEL_INDEX(pstate_id_idx);
do {