Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3392228rwb; Sun, 9 Oct 2022 04:29:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4SJscqdTaq1XZSWYM7MegPS7cpSG1MXXkinNxvsIIFrJYrXRrILJhz2/PzWgLIIlEXclAm X-Received: by 2002:a17:907:628f:b0:72f:58fc:3815 with SMTP id nd15-20020a170907628f00b0072f58fc3815mr10765871ejc.719.1665314956281; Sun, 09 Oct 2022 04:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665314956; cv=none; d=google.com; s=arc-20160816; b=0aZELu/uyB0CXCcl82I5nJxLhhiSL/mvn+Q5JdLe2xxyQ5/M9gRebWifvOMQleIt44 e9ZdNaoWkCoPXLonnYFpoYYUFMhdhO4Vl2saQxH8iSBAex8nEBzC9pBed8LyX1rV3Hhm LYVwhX+fubA4u5gFb2wqK8P/MGPM5SCeHOrpzDtmDe0U8sMC7aHVspUF26JK/QqCYmMK AUzRb9WJawxT26FsxwcfE8vo9j3stwAvHXwPQn8K6ywhhmvrWycSr83MWI7RuxZrWSg1 4If1tIABfM5Awb5/8lKeZ+Fau0udMVFnnd4av0lsKDCGHIWwmUb4Pl1ZNZy45IIlhjCt 31wg== 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 :message-id:date:subject:cc:to:from; bh=nnLZHG3yo9CJUXhxxnA/tNxIPuVSz+WXph1ZWq/OYwA=; b=Z3RSTDQOgdPlvfWLGiimmuMhR62zhEelfsZWBQwfrDK5+mqhMNTSn+LxByniCCNCxO cA6FmXrTM1JQa0pUJwJ+OHM89jQjxBVDZgLUuWn4GE3k4BAblcohFxbapDhYCwew9ySG jRnWaBLLPx3QSoIZiB3YRNZBLFSB1Fs6iq9fbWkmleTeAx44grizyWzHsho3QZUuPb0R j2Of5qwoBfGMayncwxxdBSCtJOVj15WS74bPoZWXOgeBXuXD7duhbe2GeD4dttpYTyXT dxCEQCsSAXEPAKhfrjE0gooSiSBjSZr0F7wnZ5eN1Enm7fD+tZBGrq/1YLoyJR8DT9J3 osWg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020aa7c906000000b0045154775089si6413573edt.625.2022.10.09.04.28.50; Sun, 09 Oct 2022 04:29:16 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230056AbiJIKuC (ORCPT + 99 others); Sun, 9 Oct 2022 06:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230043AbiJIKt7 (ORCPT ); Sun, 9 Oct 2022 06:49:59 -0400 Received: from smtp.smtpout.orange.fr (smtp-19.smtpout.orange.fr [80.12.242.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C47310FE2 for ; Sun, 9 Oct 2022 03:49:56 -0700 (PDT) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id hTsWoW2X5OizNhTsWoCyhu; Sun, 09 Oct 2022 12:49:54 +0200 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 09 Oct 2022 12:49:54 +0200 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: Michael Ellerman , Nicholas Piggin , Christophe Leroy Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc/sysdev: Remove some duplicate prefix in some messages Date: Sun, 9 Oct 2022 12:49:50 +0200 Message-Id: <7b8b5915a2c7c1616b33e8433ebe0a0bf07070a2.1665312579.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 At the beginning of the file, we have: #define pr_fmt(fmt) "xive: " fmt So, there is no need to duplicate "XIVE:" in debug and error messages. For the records, these useless prefix have been added in commit 5af50993850a ("KVM: PPC: Book3S HV: Native usage of the XIVE interrupt controller") Signed-off-by: Christophe JAILLET --- arch/powerpc/sysdev/xive/native.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/sysdev/xive/native.c b/arch/powerpc/sysdev/xive/native.c index 3925825954bc..19d880ebc5e6 100644 --- a/arch/powerpc/sysdev/xive/native.c +++ b/arch/powerpc/sysdev/xive/native.c @@ -535,13 +535,13 @@ static bool __init xive_parse_provisioning(struct device_node *np) static void __init xive_native_setup_pools(void) { /* Allocate a pool big enough */ - pr_debug("XIVE: Allocating VP block for pool size %u\n", nr_cpu_ids); + pr_debug("Allocating VP block for pool size %u\n", nr_cpu_ids); xive_pool_vps = xive_native_alloc_vp_block(nr_cpu_ids); if (WARN_ON(xive_pool_vps == XIVE_INVALID_VP)) - pr_err("XIVE: Failed to allocate pool VP, KVM might not function\n"); + pr_err("Failed to allocate pool VP, KVM might not function\n"); - pr_debug("XIVE: Pool VPs allocated at 0x%x for %u max CPUs\n", + pr_debug("Pool VPs allocated at 0x%x for %u max CPUs\n", xive_pool_vps, nr_cpu_ids); } -- 2.34.1