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 03538C4332F for ; Wed, 23 Nov 2022 09:43:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238165AbiKWJnF (ORCPT ); Wed, 23 Nov 2022 04:43:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238185AbiKWJmH (ORCPT ); Wed, 23 Nov 2022 04:42:07 -0500 Received: from us-smtp-delivery-115.mimecast.com (us-smtp-delivery-115.mimecast.com [170.10.133.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7BBB6F374 for ; Wed, 23 Nov 2022 01:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maxlinear.com; s=selector; t=1669196323; 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=friHJ2pl87dteW6kPoYDJnUe3HvcA4C3UFfOC5aPcgPHb0P2a1VWP7Qj7ER1wwS5k9YVA1 HPfn826C9Rvc1eoeIW9vtqO/dxA2X4BdxUhIeI5+4VPWfBDxvwxzEVikAx6/PBvVaKKAx7 izlfK1DWCxDBg3dEi7VJL+2ftuCSuSGxi/egy5TI0X06Q+VHjGkyRbhZks9oa1X6HexW9n 8aKIPU3tZaI2YkBdGk+4JoZc4K7D9G5sJxrRsEMqxQ4bO+4ieXyVhRNGQRt4awBKTOU10Y dasaucGw51RuGEm9KsucPIsTlF3Z60bQgqkQLAqTptpeqh/o0BcJKCDwlnKzGg== Received: from mail.maxlinear.com (174-47-1-83.static.ctl.one [174.47.1.83]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id us-mta-88-nuRbVBA0PV69qlDqrUJNnw-1; Wed, 23 Nov 2022 04:38:42 -0500 X-MC-Unique: nuRbVBA0PV69qlDqrUJNnw-1 Received: from sgsxdev001.isng.phoenix.local (10.226.81.111) by mail.maxlinear.com (10.23.38.120) with Microsoft SMTP Server id 15.1.2375.24; Wed, 23 Nov 2022 01:38:34 -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 17:38:19 +0800 Message-ID: <20221123093820.21161-4-rtanwar@maxlinear.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221123093820.21161-1-rtanwar@maxlinear.com> References: <20221123093820.21161-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