[PATCH 1/2] s3: fix incorrect error messages for s2idle_residency
Alex Hung
alex.hung at canonical.com
Tue Nov 30 18:30:56 UTC 2021
Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
src/acpi/s3/s3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acpi/s3/s3.c b/src/acpi/s3/s3.c
index d77108a1..c619d30d 100644
--- a/src/acpi/s3/s3.c
+++ b/src/acpi/s3/s3.c
@@ -388,7 +388,7 @@ static int s3_do_suspend_resume(fwts_framework *fw,
(*s2idle_errors)++;
fwts_failed(fw, LOG_LEVEL_HIGH, "S2idleNotDeepest",
"Expected %s to increase from %" PRIu32 ", got %" PRIu32 ".",
- PM_S2IDLE_SLP_S0, residency, *s2idle_residency);
+ PM_S2IDLE_SLP_S0, *s2idle_residency, residency);
}
*s2idle_residency = residency;
}
--
2.34.1
More information about the fwts-devel
mailing list