ACPI: processor_throttling: Remove space before \n newline
Subsystems (2)
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.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/acpi/processor_throttling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/processor_throttling.c +1 -1
@@ -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
Rafael J. Wysocki
maintainerQuoted 14 lines · Colin Ian King
There is a extraneous space before a newline in a
pr_warnmessage. Remove it.Signed-off-by Colin Ian King <[email protected]>--- drivers/acpi/processor_throttling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/processor_throttling.c +0
-0
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!