From 12c0cfd2eaba09cbd81b203f45e50018c86c1437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Peixoto?= Date: Tue, 29 Oct 2024 13:09:04 +0000 Subject: [PATCH] fix(arch/armv8a): use int32_t for psci_power_down return MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit changes the return type of `psci_power_down` from `int64_t` to `int32_t`. Signed-off-by: João Peixoto --- src/arch/armv8/armv8-a/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/armv8/armv8-a/cpu.c b/src/arch/armv8/armv8-a/cpu.c index 195d211a..14b3e7ec 100644 --- a/src/arch/armv8/armv8-a/cpu.c +++ b/src/arch/armv8/armv8-a/cpu.c @@ -37,7 +37,7 @@ void cpu_arch_profile_standby() void cpu_arch_profile_powerdown() { - int64_t err = psci_power_down(PSCI_WAKEUP_IDLE); + int32_t err = psci_power_down(PSCI_WAKEUP_IDLE); if (err) { ERROR("PSCI cpu%d power down failed with error %ld", cpu()->id, err); }