From patchwork Fri Dec 2 14:03:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 28920 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp875830wrr; Fri, 2 Dec 2022 06:05:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf4KFNq9lnGk9OyyfIFxbgb27//LRqiyZdP18jgGL+IO3j/oVXmJvEd21urf5n2hq3kaBL3V X-Received: by 2002:a05:6a00:4205:b0:56b:a7cd:f47a with SMTP id cd5-20020a056a00420500b0056ba7cdf47amr72496882pfb.22.1669989949349; Fri, 02 Dec 2022 06:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669989949; cv=none; d=google.com; s=arc-20160816; b=D95FFpgSore2XKgH/XNlfrpH7bkrbzyGDo4Mnsp6pXF1+wzywWBrjAHtreiI7whwgB UHj0aLfQXrfSqt6ytw5kyxY0NV6p29T/Qx2fLqM/xhOWSVAthCHdsi7A19TKXslvgoPo M5jmtBnXizjmUaBxmDlokiSjEZRUtEMl6iQ/HbBbe8rQmIjiT2y/RGU7ug+INlCf/f/y qukHxJlflqJDI8C2mRbeC+k7QmBuO9goAovHSG/l0RVNU3jCAUW6v/dTuYl48IC7mDuT ece7+j9A+rQY7FWToFm92zHcZNjSAYZK/U41bsgoe9CjsIEsTyfo1k7tnExk26ksV7sw 9/9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=9iVzQvZbEt7yaSBsiDKwN4A1tJdmjDFR+KuFuuwSQic=; b=jHna2zf9jDhlRQLiDlwdoWFOeRaLQe+ODtBTg4mxWiWlE+CwP1VSiqSS5YICyPyXbq 7J1YMvV9LJiCuQHrmwhB6a5tCByFa+dURh6CCqvAWPNZGD6+zOMFUbUd+/4iSQMqert9 hE+SOWW8mT2m810n8jtlHI+ifehfuoG3Ld8dYGRgtMRJsA76zjZ2C2c6+5h47dFq3mQv p/uBUAhmcZd6TWbPj6ptKt8qttOunqJZhdw5XW0ongUunmrW1UXhzWo/Qdt1KhBbDqF6 hGC1Ql+SsH/X74aHwkMENTHt9e1StT2hNPbhsHMQYmSg/NgFLEQ3WZolTyTaWEUSb/2B TzCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0vJ7OIzB; dkim=neutral (no key) header.i=@linutronix.de; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020a63d40e000000b0047005e8d874si7202669pgh.9.2022.12.02.06.05.10; Fri, 02 Dec 2022 06:05:49 -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=@linutronix.de header.s=2020 header.b=0vJ7OIzB; dkim=neutral (no key) header.i=@linutronix.de; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233396AbiLBOEE (ORCPT + 99 others); Fri, 2 Dec 2022 09:04:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233203AbiLBOEC (ORCPT ); Fri, 2 Dec 2022 09:04:02 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 640C3CCFC6; Fri, 2 Dec 2022 06:04:01 -0800 (PST) Date: Fri, 02 Dec 2022 14:03:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669989840; h=from:from:sender:sender:reply-to: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=9iVzQvZbEt7yaSBsiDKwN4A1tJdmjDFR+KuFuuwSQic=; b=0vJ7OIzB9yib9Vifjs8v6pUrj3TYVOXQJYeqnH7asfkSCDEmSoK9PVYriSN8/ZSUyi5PZ4 c1QhJSh/Qw70+hR1IjfvR6n22w1/NCingU/0JZ+TNRrmswKyZhvjrODh9q1ZUHSQSLotYW FABZN+3in10tg/8D10pTWBhnNcd3W8+3UT9Ppch3dTNPt6ov6IuHUKrsGhWVo+b9fpw/5f ecYpfZaj5haOxh15FkcRK78SOLPpindbCM4DT8bV8WwE/8puC/a1Cy8QtUziLTQVzTUGt0 dVelHqZvPgmDtCuOYIA+IqLi+Rw2g3aOuLxqG0PdYRKHa5rT/4x1Zr+a8hxTtw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669989840; h=from:from:sender:sender:reply-to: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=9iVzQvZbEt7yaSBsiDKwN4A1tJdmjDFR+KuFuuwSQic=; b=7PZ03XTUOp8fPRgrWPS93owWiMe5ZqRYreb9YqKBxeVNc//pYWA8BHicepjVowt3MB1Tha afb/OFD6svWT1tAQ== From: "tip-bot2 for Rahul Tanwar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/apic] x86/of: Replace printk(KERN_LVL) with pr_lvl() Cc: Andy Shevchenko , Rahul Tanwar , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20221124084143.21841-4-rtanwar@maxlinear.com> References: <20221124084143.21841-4-rtanwar@maxlinear.com> MIME-Version: 1.0 Message-ID: <166998983862.4906.5810287160268183726.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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?1750367065582433799?= X-GMAIL-MSGID: =?utf-8?q?1751111381042107896?= The following commit has been merged into the x86/apic branch of tip: Commit-ID: 535403323b4dcdc363e7ea265df62481b903826b Gitweb: https://git.kernel.org/tip/535403323b4dcdc363e7ea265df62481b903826b Author: Rahul Tanwar AuthorDate: Thu, 24 Nov 2022 16:41:42 +08:00 Committer: Thomas Gleixner CommitterDate: Fri, 02 Dec 2022 14:57:14 +01:00 x86/of: Replace printk(KERN_LVL) with pr_lvl() Use pr_lvl() instead of the deprecated printk(KERN_LVL). Just a upgrade of print utilities usage. no functional changes. Suggested-by: Andy Shevchenko Signed-off-by: Rahul Tanwar Signed-off-by: Thomas Gleixner Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20221124084143.21841-4-rtanwar@maxlinear.com --- 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 59438d2..484783f 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -243,7 +243,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); @@ -260,7 +260,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) {}