From patchwork Wed Nov 23 10:08:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Tanwar X-Patchwork-Id: 24865 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2707198wrr; Wed, 23 Nov 2022 02:32:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf4wRnhnv0Go/w4pWQ42DmYpM8AZSSM79nM3Fedmn9oVYyKM817GTtJycxhmRCCxwlPaWydP X-Received: by 2002:a17:902:ab8d:b0:187:1e83:2505 with SMTP id f13-20020a170902ab8d00b001871e832505mr11743135plr.132.1669199578456; Wed, 23 Nov 2022 02:32:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669199578; cv=none; d=google.com; s=arc-20160816; b=Ut/v0qdWvVvb6d1WnsjHEbQsSq81TvvPeab303/KqX3E3uzEZi1imINNN2CWM9fTFG G6Pzij2LwMSgkBk0DTpHwBDE1gslZck+3TDE37ywS8eijvH3CQ/2fV2pOi5I6BsfJhjf /WTxlHPzX/Ci+4WOA1t+Pm+eG++C7+HDSQlfY6WYGQMQXHI87ftJ7B/9/K459QuKBG0w 7psRGPEL4H1U2oRQv4iP4tKY4kHnXNv0NlSPJ9h5J+3voHHbeaopTynwdSSeMbBYFDcg Y4dlZsBggEaKiYyyi99uQUv+e0undAXP/pjBxt30a+rmcW4aUzuASbAskelBScKdaFjF DZgw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AkBrFNa8JXU1rnG3IW0QD6QbjBzAOYoAULmyjQGwhog=; b=cB5Unj/wHJ4P1V/7Gw7SZ33J90LZHQ4e4GRNRyC8e+LBI9EKRF/j4Dknx1oLPXtPQZ f9/vKHoFQvPwsWpOv3Fl4uDwS3n62n+Ku8ZuvAXgQ3VyVcQobdXYBMsvVGw+UBMFOCOI yNn7GSjOp/WTa0v2x0/UOWHtbrV+BSrzipl13cpvMnpHh4t9Eh0I0KVgy0Vwv/QQpiYS YLZSzvXRQRZI/j6BVb5s/AcW0NqoRvFjoeAPMmW1bgGGPbT1ErfOG8P6nonYG04czhpt YBOK+ENkMEFpbPH3gZk+0JXNaT4VRN4+2K7gGb3KUIaAFanLtTRb0PnF9Xxo30ma0ns9 Yl2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maxlinear.com header.s=selector header.b=IeCorsSJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=maxlinear.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h63-20020a638342000000b004750a252941si16603539pge.774.2022.11.23.02.32.45; Wed, 23 Nov 2022 02:32:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maxlinear.com header.s=selector header.b=IeCorsSJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=maxlinear.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237210AbiKWKZn (ORCPT + 99 others); Wed, 23 Nov 2022 05:25:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236252AbiKWKYq (ORCPT ); Wed, 23 Nov 2022 05:24:46 -0500 Received: from us-smtp-delivery-115.mimecast.com (us-smtp-delivery-115.mimecast.com [170.10.129.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C65604F193 for ; Wed, 23 Nov 2022 02:09:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maxlinear.com; s=selector; t=1669198153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AkBrFNa8JXU1rnG3IW0QD6QbjBzAOYoAULmyjQGwhog=; b=IeCorsSJOr+y1m9i+1yGIXKnlBTIrga/aKFaCx0deRDSObEoC7YJlfWlpIVMHH9mIn0zhx bJMEo5v3FW3ZAZ3b6xIjlwJQC19MKcr1C0fTyHEb0W8GVsdPYx1R3E6WGbWCXfBPIO/G8V WWCRBPy/pqkjaLMzYBs7aaCT+pSMUhl9RyBNeqgnagQyUz0NzVnixaMX/9Wz6ojqIF7UlH AWHtOXPeeNOI4vIORfbKWAOM6rWV1xTguTULLbWV+YnPBa1FkCgO7ZuaoPbNUI0eW8xf/O 3sU41tQ2OIkVYyf8tx5zVXgtHtrnXLNM1Ok9ojKkIFDauAimG+Fv4Zf7eOy8rA== Received: from mail.maxlinear.com (174-47-1-84.static.ctl.one [174.47.1.84]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id us-mta-121-HwGyz1NYO-ua-wzc3aoVTA-1; Wed, 23 Nov 2022 05:09:12 -0500 X-MC-Unique: HwGyz1NYO-ua-wzc3aoVTA-1 Received: from sgsxdev001.isng.phoenix.local (10.226.81.111) by mail.maxlinear.com (10.23.38.119) with Microsoft SMTP Server id 15.1.2375.24; Wed, 23 Nov 2022 02:09:04 -0800 From: Rahul Tanwar To: Rahul Tanwar , , CC: Thomas Gleixner , Marc Zyngier , "Rob Herring" , Krzysztof Kozlowski , Ingo Molnar , "Borislav Petkov" , Dave Hansen , , "H. Peter Anvin" , , Subject: [PATCH v4 3/4] x86/of: Replace printk(KERN_LVL) with pr_lvl() Date: Wed, 23 Nov 2022 18:08:49 +0800 Message-ID: <20221123100850.22969-4-rtanwar@maxlinear.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221123100850.22969-1-rtanwar@maxlinear.com> References: <20221123100850.22969-1-rtanwar@maxlinear.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: maxlinear.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750282617219482338?= X-GMAIL-MSGID: =?utf-8?q?1750282617219482338?= Use latest available pr_lvl() instead of older printk(KERN_LVL) Just a upgrade of print utilities usage no functional changes. Reviewed-by: Andy Shevchenko Suggested-by: Andy Shevchenko Signed-off-by: Rahul Tanwar --- arch/x86/kernel/devicetree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index 5cd51f25f446..fcc6f1b7818f 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -248,7 +248,7 @@ static void __init dtb_add_ioapic(struct device_node *dn) ret = of_address_to_resource(dn, 0, &r); if (ret) { - printk(KERN_ERR "Can't obtain address from device node %pOF.\n", dn); + pr_err("Can't obtain address from device node %pOF.\n", dn); return; } mp_register_ioapic(++ioapic_id, r.start, gsi_top, &cfg); @@ -265,7 +265,7 @@ static void __init dtb_ioapic_setup(void) of_ioapic = 1; return; } - printk(KERN_ERR "Error: No information about IO-APIC in OF.\n"); + pr_err("Error: No information about IO-APIC in OF.\n"); } #else static void __init dtb_ioapic_setup(void) {}