[PATCH] acpi: fadt: clarify the check for sleep control register

Ivan Hu ivan.hu at canonical.com
Fri Dec 15 11:05:42 UTC 2023


Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 src/acpi/fadt/fadt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/acpi/fadt/fadt.c b/src/acpi/fadt/fadt.c
index 346fccbd..133fbbfc 100644
--- a/src/acpi/fadt/fadt.c
+++ b/src/acpi/fadt/fadt.c
@@ -1603,7 +1603,7 @@ static void acpi_table_check_fadt_sleep_control_reg(fwts_framework *fw)
 			fwts_failed(fw, LOG_LEVEL_MEDIUM,
 				    "SleepControlRegNotAllowed",
 				    "FADT SLEEP_CONTROL_REG is defined but "
-				    "will be ignored reduced hardware mode.");
+				    "will be ignored when not in reduced hardware mode.");
 	}
 }
 
@@ -1633,7 +1633,7 @@ static void acpi_table_check_fadt_sleep_status_reg(fwts_framework *fw)
 			fwts_failed(fw, LOG_LEVEL_MEDIUM,
 				    "SleepStatusRegNotAllowed",
 				    "FADT SLEEP_STATUS_REG is defined but "
-				    "will be ignored reduced hardware mode.");
+				    "will be ignored when not in reduced hardware mode.");
 	}
 }
 
-- 
2.34.1




More information about the fwts-devel mailing list