diff mbox series

[17/20] ACPICA: executer/exsystem: Fix some typo mistakes

Message ID 1879458.taCxCBeP46@kreacher
State New
Headers show
Series ACPICA: ACPICA 20220331 | expand

Commit Message

Rafael J. Wysocki April 11, 2022, 7:01 p.m. UTC
From: Selvarasu Ganesan <selvarasu.ganesan@arm.com>

ACPICA commit 441747f1dcff770d692acbfd4d85b2cfaabdb38a

Link: https://github.com/acpica/acpica/commit/441747f1
Signed-off-by: Selvarasu Ganesan <selvarasu.ganesan@arm.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 exsystem.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff -Nurp linux.before_name/drivers/acpi/acpica/exsystem.c linux.after_name/drivers/acpi/acpica/exsystem.c
--- linux.before_name/drivers/acpi/acpica/exsystem.c	2022-04-01 18:28:19.025995819 +0200
+++ linux.after_name/drivers/acpi/acpica/exsystem.c	2022-04-01 18:28:14.163056634 +0200
@@ -137,7 +137,7 @@  acpi_status acpi_ex_system_do_stall(u32
 			    "Time parameter is too large (%u)", how_long_us));
 		status = AE_AML_OPERAND_VALUE;
 	} else {
-		if (how_long_US > 100) {
+		if (how_long_us > 100) {
 			ACPI_WARNING((AE_INFO,
 				      "Time parameter %u us > 100 us violating ACPI spec, please fix the firmware.",
 				      how_long_us));
@@ -175,8 +175,8 @@  acpi_status acpi_ex_system_do_sleep(u64
 	 */
 	if (how_long_ms > 10) {
 		ACPI_WARNING((AE_INFO,
-			      "Firmware issue: Excessive sleep time (%llu ms > 10 ms) in ACPI Control Method",
-			      how_long_us));
+			      "Firmware issue: Excessive sleep time (%lu ms > 10 ms) in ACPI Control Method",
+			      how_long_ms));
 	}
 
 	/*