Skip to content

Commit 54e0519

Browse files
committed
ACPI: processor: idle: Drop extra prefix from pr_notice()
Drop "ACPI: " from the pr_noitice() instance in acpi_processor_cstate_first_run_checks(), because pr_fmt() causes that prefix to be added to the message already. Reported-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
1 parent 41103b3 commit 54e0519

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/acpi/processor_idle.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,8 @@ static inline void acpi_processor_cstate_first_run_checks(void)
784784
dmi_check_system(processor_power_dmi_table);
785785
max_cstate = acpi_processor_cstate_check(max_cstate);
786786
if (max_cstate < ACPI_C_STATES_MAX)
787-
pr_notice("ACPI: processor limited to max C-state %d\n",
788-
max_cstate);
787+
pr_notice("processor limited to max C-state %d\n", max_cstate);
788+
789789
first_run++;
790790

791791
if (nocst)

0 commit comments

Comments
 (0)