Re: [PATCH v1 1/4] ACPI: processor: Get rid of ACPICA message printing
From: Hanjun Guo
Date: Tue Feb 23 2021 - 06:31:07 EST
On 2021/2/23 2:59, Rafael J. Wysocki wrote:
Index: linux-pm/drivers/acpi/processor_idle.c
===================================================================
--- linux-pm.orig/drivers/acpi/processor_idle.c
+++ linux-pm/drivers/acpi/processor_idle.c
In this file, function acpi_processor_cstate_first_run_checks()
has a wrong pr_notice():
pr_notice("ACPI: processor limited to max C-state %d\n",
max_cstate);
Since we have pr_fmt() for this file, "ACPI:" is duplicate,
we'd better cleanup this as below:
pr_notice("processor limited to max C-state %d\n", max_cstate);
Thanks
Hanjun