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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B000C433F5 for ; Thu, 10 Mar 2022 10:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:Message-Id:MIME-Version:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=fSPg8MVvD92emjtvOzPqoDh/bCtJSILMWGxadaAkjZ8=; b=frdviMXYmdtVYI KEOOetP5G4LOCu3PfGIYezuHozxUxGGrv1nk4O1xxojKYtK5wAOZxGfNw5QXWrNqj4jt5gcV/MMHB vUr6kbaMrmZTrG9L9uhBl+0Z9Q5HFSIjxBPrUBTbsQTMOExkCGJw1rtzX/cGbvzvgrrf1L8slsArD 8w1RQFVPQhlKHqy79NY4mkmfDHJBzRgp0JriaoQ7awIuoQ8ZUMSNY0CjmJ1cZpvViXj69F/k92cUv U75/Z7YUgIM6dnPOdEgGtY3PzIq5zRFshHxtVPMeYReqkkgtjKWgVUhdshKLLyEb5a+ofKsqCX3GW k50KFUoD2sftvdonRrIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSFw5-00CMbR-2G; Thu, 10 Mar 2022 10:22:21 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSFw1-00CMZj-9y for linux-arm-kernel@lists.infradead.org; Thu, 10 Mar 2022 10:22:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RJy/l7WGbcRHSJVz7+9fMTgHI8Xr7GHBVkEYShuN/5Q=; b=CVcyTb7bLpxvI16wYAb/YruP6b IT+FoMUEUrG61jxzxQ7JshK5zY0C0w/CZC4Um65/7dakMQRsDtcJltk8naDEx7jOiwVi2mxEivC0V iu6Q/+uBSq5sR3a1MDdW33aP7K4uFLNrCcXNhDXXOcKKTv9tgZY4E6rStMTK/gdAKamuUQre1wak6 ykACkNZuAzkuo8bpXnVLgwcaNv8N3okKQ/g1I+ccID9rJbLpNiLzVjFR7sKLzj6YGUTfw5iK/dweH WV2g86C62MnVc94WAfeayol3zWk4NzOkiJHBhdzY6hLRoCvjAQpIPG1RcdMktiGJkvewSc3vGHEho wPu2PuDg==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:54224 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nSFvy-000105-7V; Thu, 10 Mar 2022 10:22:14 +0000 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nSFvy-00Gh7a-2O; Thu, 10 Mar 2022 10:22:14 +0000 From: "Russell King (Oracle)" To: Linus Torvalds Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: fix build warning in proc-v7-bugs.c MIME-Version: 1.0 Content-Disposition: inline Message-Id: Date: Thu, 10 Mar 2022 10:22:14 +0000 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220310_022217_370365_64D89D8C X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The kernel test robot discovered that building without HARDEN_BRANCH_PREDICTOR issues a warning due to a missing argument to pr_info(). Add the missing argument. Reported-by: kernel test robot Fixes: 9dd78194a372 ("ARM: report Spectre v2 status through sysfs") Signed-off-by: Russell King (Oracle) --- arch/arm/mm/proc-v7-bugs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mm/proc-v7-bugs.c b/arch/arm/mm/proc-v7-bugs.c index c226feab2457..06dbfb968182 100644 --- a/arch/arm/mm/proc-v7-bugs.c +++ b/arch/arm/mm/proc-v7-bugs.c @@ -108,7 +108,8 @@ static unsigned int spectre_v2_install_workaround(unsigned int method) #else static unsigned int spectre_v2_install_workaround(unsigned int method) { - pr_info("CPU%u: Spectre V2: workarounds disabled by configuration\n"); + pr_info("CPU%u: Spectre V2: workarounds disabled by configuration\n", + smp_processor_id()); return SPECTRE_VULNERABLE; } -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel