mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][next] ACPI: processor_throttling: Remove space before \n newline
@ 2025-07-21 13:50 Colin Ian King
  2025-07-21 14:47 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2025-07-21 13:50 UTC (permalink / raw)
  To: Rafael J . Wysocki, Len Brown, linux-acpi; +Cc: kernel-janitors, linux-kernel

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

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/acpi/processor_throttling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c
index d1541a386fbc..f9c2bc1d4a3a 100644
--- a/drivers/acpi/processor_throttling.c
+++ b/drivers/acpi/processor_throttling.c
@@ -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;
-- 
2.50.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] ACPI: processor_throttling: Remove space before \n newline
  2025-07-21 13:50 [PATCH][next] ACPI: processor_throttling: Remove space before \n newline Colin Ian King
@ 2025-07-21 14:47 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2025-07-21 14:47 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Rafael J . Wysocki, Len Brown, linux-acpi, kernel-janitors, linux-kernel

On Mon, Jul 21, 2025 at 3:50 PM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a extraneous space before a newline in a pr_warn message.
> Remove it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  drivers/acpi/processor_throttling.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c
> index d1541a386fbc..f9c2bc1d4a3a 100644
> --- a/drivers/acpi/processor_throttling.c
> +++ b/drivers/acpi/processor_throttling.c
> @@ -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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-21 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-21 13:50 [PATCH][next] ACPI: processor_throttling: Remove space before \n newline Colin Ian King
2025-07-21 14:47 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®