Skip to contentSkip to conversation

ACPI: processor_throttling: Remove space before \n newline

PATCH In review Colin Ian King 2 participants 2 messages Jul 21, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: processor_throttling: Remove space before \n newline

There is a extraneous space before a newline in a pr_warn message. Remove it.

---
 drivers/acpi/processor_throttling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/processor_throttling.c +1 -1
index d1541a386fbc..f9c2bc1d4a3a 100644
@@ -235,7 +235,7 @@ static int acpi_processor_throttling_notifier(unsigned long event, void *data)
 		if (pr->throttling_platform_limit > target_state)
 			target_state = pr->throttling_platform_limit;
 		if (target_state >= p_throttling->state_count) {
-			pr_warn("Exceed the limit of T-state \n");
+			pr_warn("Exceed the limit of T-state\n");
 			target_state = p_throttling->state_count - 1;
 		}
 		p_tstate->target_state = target_state;
Signature · 1 line
2.50.0
#1 lore raw
Quoted 14 lines · Colin Ian King

There is a extraneous space before a newline in a pr_warn message. Remove it.

---
 drivers/acpi/processor_throttling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/processor_throttling.c +0 -0
index d1541a386fbc..f9c2bc1d4a3a 100644

drivers/acpi/processor_throttling.c static int acpi_processor_throttling_notifier(unsigned long event, void *data)

Quoted 9 lines
drivers/acpi/processor_throttling.c +1 -2
@@ -235,7 +235,7 @@ static int acpi_processor_throttling_notifier(unsigned long event, void *data)
                if (pr->throttling_platform_limit > target_state)
                        target_state = pr->throttling_platform_limit;
                if (target_state >= p_throttling->state_count) {
-                       pr_warn("Exceed the limit of T-state \n");
+                       pr_warn("Exceed the limit of T-state\n");
                        target_state = p_throttling->state_count - 1;
                }
                p_tstate->target_state = target_state;
--

Applied (as 6.17 material), thanks!