Skip to content

Commit

Permalink
ACPI: processor: idle: Drop extra prefix from pr_notice()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki committed Mar 8, 2021
1 parent 41103b3 commit 54e0519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,8 @@ static inline void acpi_processor_cstate_first_run_checks(void)
dmi_check_system(processor_power_dmi_table);
max_cstate = acpi_processor_cstate_check(max_cstate);
if (max_cstate < ACPI_C_STATES_MAX)
pr_notice("ACPI: processor limited to max C-state %d\n",
max_cstate);
pr_notice("processor limited to max C-state %d\n", max_cstate);

first_run++;

if (nocst)
Expand Down

0 comments on commit 54e0519

Please sign in to comment.