Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp82403pxb; Wed, 24 Feb 2021 19:06:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7zHHIYarGuDBOWIs9dQ5cFAtl//0fShu8ycJKIa0xjiZZ/sjbovGnZx/BaMjeAVPu6jTE X-Received: by 2002:aa7:ca09:: with SMTP id y9mr869935eds.342.1614222403217; Wed, 24 Feb 2021 19:06:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614222403; cv=none; d=google.com; s=arc-20160816; b=gXDmJI9SKdkUGaN+kkkBDPBVVz8fi63qGkSdLIM0xIeYDD8rAL5kYbYK9YsKDkAgQt WYgzzLcvZJ4zxAHTGSlk3MvdYNdNpHnmrhC09OVttSukTcuyAt4hbJ3P8+jpB+C7QNRb 7xAjxLBz9jBo5G6E0x+dQeFnfM/aTnVIgPFJX5rOKWf6HHHBQ2WPdB7cmfmh7fEpb6PT i4Gs+qXbj45QWMAYke8v52WIiZN6XzzkWDqkBAScKFvWWZsay0Ap2IafSfkVvcHtld3Q R0e4OsmI6CA0RLl9+IcoBqoz9PIxFZxz+5S6Y88MdqfaoRb9/IGjsJPO3F8JIqfUEfdX 0uCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=N7WMYpN2RxNvCsfWLlQS08N3LdKC68fUUnn/5Jr2Qwg=; b=yWJnwv8HSmm5y3qcpHAsQ/fzlrNkrW+A9HjMAJ4upVuq228yNEE7wyo6R2VXxFpWwv M6+Qt9iRTx65aR3AgvgxStHkrowjfzgpxOi09VrniQ5YUNCNaaI3uIMJvzo8DENs49iC lDFrXaWZD4xtWXiJAPWDm7a+NykQubENnLzOl2q2xq9v16UIF19nIzNTa2XvIbRy7/kB 1nlmW+5UKQ0P14oR012/Jvv8XRnf69MpqKAatT+xgrIaIjriT2iumsy7an8vtvkn/vpb 7BT2XjM5Ba/nUd2bhHPKNXmYGOQliIaywton2HSt/bt3E78gHDAOBKxKKmo+4CU5N+0v rytg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt11si1475717ejb.361.2021.02.24.19.06.19; Wed, 24 Feb 2021 19:06:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233896AbhBXSh6 (ORCPT + 99 others); Wed, 24 Feb 2021 13:37:58 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:59938 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbhBXSh5 (ORCPT ); Wed, 24 Feb 2021 13:37:57 -0500 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_smtp) via UNIX with SMTP (IdeaSmtpServer 0.83.537) id 4a655fdd08b609bf; Wed, 24 Feb 2021 19:37:14 +0100 Received: from kreacher.localnet (89-64-80-80.dynamic.chello.pl [89.64.80.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 00E18661E2A; Wed, 24 Feb 2021 19:37:12 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Linux PM , Hanjun Guo Subject: [PATCH v1] ACPI: processor: idle: Drop extra prefix from pr_notice() Date: Wed, 24 Feb 2021 19:37:12 +0100 Message-ID: <1888725.8kdNXL6VX8@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrkeejgdduudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkggfgtgesthfuredttddtvdenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeevudefgfeguedtjedvhfetveegleduveeuvedvjeekleefhfduhfefheekffefveenucfkphepkeelrdeigedrkedtrdektdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekledrieegrdektddrkedtpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepghhuohhhrghnjhhunheshhhurgifvghirdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki 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 Signed-off-by: Rafael J. Wysocki --- drivers/acpi/processor_idle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-pm/drivers/acpi/processor_idle.c =================================================================== --- linux-pm.orig/drivers/acpi/processor_idle.c +++ linux-pm/drivers/acpi/processor_idle.c @@ -780,8 +780,8 @@ static inline void acpi_processor_cstate 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)