From mboxrd@z Thu Jan 1 00:00:00 1970 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 36A05C433FE for ; Wed, 23 Nov 2022 10:25:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236123AbiKWKZd (ORCPT ); Wed, 23 Nov 2022 05:25:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236085AbiKWKYY (ORCPT ); Wed, 23 Nov 2022 05:24:24 -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 2E3CC554DA for ; Wed, 23 Nov 2022 02:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maxlinear.com; s=selector; t=1669198155; 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=TneJ4IqSr5ROo+ez6MFujYjFX5BuLavfm8twhEWHpoGpVDdX+fTiTtUu0w8ymaHDDMlsx4 WcxUB/fydAqHphu0ld5w6QKvp7mw/pqO2sk6gWt09wjd+H0izrR0+sbrkYXMsgoMayp3CT 1/ySeMWTg6xZuCq+UtOfHiT71YyKfwXrsRvlIcawgiMAxq4+Vg8cVBgnRYR7o31x61533v gC+0laklpjBPOvISZLcTux6l9BZRRyfJyiNrZiI+qusz/z9I2v0hOlSXP0A9JDxfSiaOjD xnbfZFIUIhJ0USncFEzqMI81yLp7onY5GxrlwsB1JVmwSu1tzOFqnYgqyFnXyg== 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 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 *d= n) =20 =09ret =3D of_address_to_resource(dn, 0, &r); =09if (ret) { -=09=09printk(KERN_ERR "Can't obtain address from device node %pOF.\n", dn)= ; +=09=09pr_err("Can't obtain address from device node %pOF.\n", dn); =09=09return; =09} =09mp_register_ioapic(++ioapic_id, r.start, gsi_top, &cfg); @@ -265,7 +265,7 @@ static void __init dtb_ioapic_setup(void) =09=09of_ioapic =3D 1; =09=09return; =09} -=09printk(KERN_ERR "Error: No information about IO-APIC in OF.\n"); +=09pr_err("Error: No information about IO-APIC in OF.\n"); } #else static void __init dtb_ioapic_setup(void) {} --=20 2.17.1