From patchwork Fri Sep 15 15:57:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ilpo_J=C3=A4rvinen?= X-Patchwork-Id: 13387209 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8562EED61B for ; Fri, 15 Sep 2023 15:59:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236354AbjIOP6k (ORCPT ); Fri, 15 Sep 2023 11:58:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236316AbjIOP61 (ORCPT ); Fri, 15 Sep 2023 11:58:27 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4646610D9; Fri, 15 Sep 2023 08:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694793502; x=1726329502; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NbHznSzo9cAXWJrSxFdkec/xGu/0KxsGpf1kX0P/iv0=; b=NIDYjfdhtQjbYH7xdIniMywUKRIFlesNT+VfT2BCDMDTxUpTz0pc1uqJ vzntkmrRFTa+r/NCZn7tFbPE2qAMk+JLeMYg5GHzrT3sJzMHzSWNBAUxU qBiBXuGBXKvoC62Qm0Vz0OmAlUVkDHyOBFN1HeQCy1Ouy3xUNP4pwU9pn qLlvMW/gukJ47dzaplb3eqigfSsafCQ2hSd47PsRQ743AluGsP/eFwkc+ keP/80xC33LXUH9zDhPc1Kh9r4Cu5zOujrsfod3UsWR2oGaqdKeW3zNGT 8ipk2akUh+r8/fIAm6Y3Zb4U957vqVBKzIyV9wCCMDxyPSTjq3xnVQq5f Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="369594668" X-IronPort-AV: E=Sophos;i="6.02,149,1688454000"; d="scan'208";a="369594668" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2023 08:58:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="745036707" X-IronPort-AV: E=Sophos;i="6.02,149,1688454000"; d="scan'208";a="745036707" Received: from srdoo-mobl1.ger.corp.intel.com (HELO ijarvine-mobl2.ger.corp.intel.com) ([10.252.38.99]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2023 08:58:20 -0700 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= To: linux-pci@vger.kernel.org, Bjorn Helgaas , linux-kernel@vger.kernel.org Cc: =?utf-8?q?Ilpo_J=C3=A4rvinen?= Subject: [PATCH 7/7] PCI/ASPM: Convert printk() to pr_*() and add include Date: Fri, 15 Sep 2023 18:57:52 +0300 Message-Id: <20230915155752.84640-8-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230915155752.84640-1-ilpo.jarvinen@linux.intel.com> References: <20230915155752.84640-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Convert printk(KERN_INFO ...) to pr_info() and add the correct include for it. Signed-off-by: Ilpo Järvinen --- drivers/pci/pcie/aspm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index fb25892d15b7..855feaefd7f4 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -1367,10 +1368,10 @@ static int __init pcie_aspm_disable(char *str) aspm_policy = POLICY_DEFAULT; aspm_disabled = 1; aspm_support_enabled = false; - printk(KERN_INFO "PCIe ASPM is disabled\n"); + pr_info("PCIe ASPM is disabled\n"); } else if (!strcmp(str, "force")) { aspm_force = 1; - printk(KERN_INFO "PCIe ASPM is forcibly enabled\n"); + pr_info("PCIe ASPM is forcibly enabled\n"); } return 1; }