Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp407072pxp; Fri, 11 Mar 2022 06:41:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxstP87/wCQ3rpkAswTOcl/MF2RzAIsCs2khS3zAds0SOyXJiJPh9BawnhCEPfhxZP94tnz X-Received: by 2002:a05:6a00:319e:b0:4f6:dedb:6c52 with SMTP id bj30-20020a056a00319e00b004f6dedb6c52mr10358550pfb.31.1647009691119; Fri, 11 Mar 2022 06:41:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647009691; cv=none; d=google.com; s=arc-20160816; b=yUmPkfeSBNWlpNegw7JPvFiq1P+pf0Ei3Q0V0YwAqMURYBg1L0lG4QBhhGZGPKz2YX Hv2Ohw4zktQIrfbcokvCi2/MXNm/UAFhRzQtdohnEFG5Fxbp1Vi0OAF7TxlI6smMrJVP D50y1gBgVcK6nqLt8NKTGy+kC7KHQ2y4u2zgUS+QAyrqSNnR5AieQ00Kg+ZOsa9+dBuf FFEKdcXtJQDpEsBTqmnWRzsZapqN2YQtRmBVZRgRMKmwAEJp7FYjUT9Y2aP872AY97Mo NJ9KiGF1eyt5o3494EjejqN2mTs6ixlivDEuyPIcpW9BzcKSkUhYkhqqd+3YyBkD/s4l QvFQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yd18EYIWqqtu91ycU1hSJOjKdpY6MHx05QR1lpNJgQI=; b=D3rvE5owTYn/NdHp/p5PN4ZLTzKSGOJa9EM0/oSXIDwcrABsbxqcaSBwSKFW5+3X5G v7Nj5wEaz1gBnjBZhLzabU0l870OygDKQd/qVJmo/ztlXYoT9vydSTWtLHfT8opU5z5D UtrEsOee4B17+46XODh/YNBbUN8xHiHbXdNrzwQLHZ9H60k9sdxkBsZkYaw+trQZhQEK FWRMyrLJpfIzzODP7HI8c08EA+NmGYZoyFklSuAUzMGmtSQZg8iRuUZAQSNJqUBNDEmV W7+ImGzgKkV41Vywrb5sZ9c+IihHLlBT8DFTZm1jFRWs50FSEgVTKKLo+odH/AnqsD1u XfEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GzUoV5kU; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a17090311d000b001517777221bsi9557113plh.256.2022.03.11.06.41.09; Fri, 11 Mar 2022 06:41:31 -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=@linuxfoundation.org header.s=korg header.b=GzUoV5kU; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346181AbiCJOmk (ORCPT + 99 others); Thu, 10 Mar 2022 09:42:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343920AbiCJOb3 (ORCPT ); Thu, 10 Mar 2022 09:31:29 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB028E5402; Thu, 10 Mar 2022 06:28:25 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5F956B82544; Thu, 10 Mar 2022 14:28:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA10DC340E8; Thu, 10 Mar 2022 14:28:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646922504; bh=Lkj2JTmQcMmKZ3TgT9AHY0CjWLU1osFRNI2CLANMr0g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GzUoV5kUowogskLlHVf8IoKOnEitHL4ebv3Go6bTyTdgn/EJtx8m99aMbUqGUUDxu wKrrrO1cMWv2nCyX056PDWexz7kxPZ+ETFpTnl1ITL2qP1ZCYSX+rYAN6YS3Oc3tkX 0FyjwDpSDJyBsGr2cxnr0jBRt9K7qNdD5tOW8PtE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , "Russell King (Oracle)" , Linus Torvalds Subject: [PATCH 5.4 21/33] ARM: fix build warning in proc-v7-bugs.c Date: Thu, 10 Mar 2022 15:19:22 +0100 Message-Id: <20220310140809.364340265@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310140808.741682643@linuxfoundation.org> References: <20220310140808.741682643@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Russell King (Oracle) commit b1a384d2cbccb1eb3f84765020d25e2c1929706e upstream. 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) Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- arch/arm/mm/proc-v7-bugs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/arch/arm/mm/proc-v7-bugs.c +++ b/arch/arm/mm/proc-v7-bugs.c @@ -109,7 +109,8 @@ static unsigned int spectre_v2_install_w #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; }