Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp213037pxp; Fri, 11 Mar 2022 02:48:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQbw7IGYg5fXAUZpJDyMi/YSHCaRxThugRKxL4cX8MqkVnm4hqpzDY9++yOO/TT0EE1fs1 X-Received: by 2002:a17:902:da8d:b0:151:e04c:70a4 with SMTP id j13-20020a170902da8d00b00151e04c70a4mr10136043plx.8.1646995711799; Fri, 11 Mar 2022 02:48:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646995711; cv=none; d=google.com; s=arc-20160816; b=ZcYkSkEn13dWswQZP4IwQH1lG3AgXrbIxF3yKs/nlQnF7johHoCF69u8nZCLfz9pnz sQvlx7I0gnQ1j7z1Sl47C8WulxB37MYGOinzIQr7cyF2ZMi1pemjYd5Dl01vsGy0nhXI Vc0uO80IyFrMNq3lEMujSpOxlaCoCwzPXLDM+BTZ4DXQV9L1K/fs5iPIu9lCGx1EZrEb 3OVRCiLHalBNhT4zvGJegoRIu+jZI/dW36INuRvhdRPNszJpuWEfqF9sYA0n0bezmV/o M8IeluUXUcaZ3lOdqSkYKfqv4d92egvvruBmJuF9pHkE5JbDRCtUdUy3re5L58zawymo 7qdQ== 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=kgYfcbP8hOnqq1HReY6pD29lMXnObXa0x+TgeTpMicA=; b=Cfn8by00AZ3lZZvmSR/ZfQyvUFbli1k3uYNynHcXppSwhIvGfJqs+l1ioO0g0XLo3u 859Ami6Okw2VSD3ov+vTmYc8l78Y8l7slgBYf8XJ75p3rJ3u0POERe6xgZCJOHye3EYJ C+O1QhMnk+cdBG34k9PHeKgttijSynHxeFggwomFrGIP4h8wItAdLfpe7EHRUw4ZrIM5 ECZNwlqGq9ue1r8/6PjppxEPvPLYLsqzAQ7BkpejWyz4htl48aCy1M66CFjPzBGh985S bLePXCWqYbQSZNL/yalsx/3J8yncZQlf8TA32zZrQEnF9aMFWFsgYXVboO5jmURzpcuJ ThiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AWb06PBK; 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 m7-20020a6562c7000000b0037410525440si8332873pgv.154.2022.03.11.02.48.16; Fri, 11 Mar 2022 02:48: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=AWb06PBK; 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 S243514AbiCJO0f (ORCPT + 99 others); Thu, 10 Mar 2022 09:26:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243464AbiCJOWn (ORCPT ); Thu, 10 Mar 2022 09:22:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 034B4150405; Thu, 10 Mar 2022 06:20:53 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 8203961CFF; Thu, 10 Mar 2022 14:20:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4796CC36AFA; Thu, 10 Mar 2022 14:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646922051; bh=xj+QdKUrjDDFGwApWZ1l3iJAR6528yj7oSQnmuWft5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AWb06PBKrVLK88WItDC1xqqzyv9KFokfR818sFONlLPjDwoH+n7qqDE4EXkcD0WX0 RtoV0MYWgMg/Rpdh9E9stLTqEnzOrluRMz9HPvyE7AxDiAU1CEATkYjVyybg7xoYka AcQZR+zPug4yRn5i4sQ67A24koLgv/EcopiIEpCw= 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 4.14 21/31] ARM: fix build warning in proc-v7-bugs.c Date: Thu, 10 Mar 2022 15:18:34 +0100 Message-Id: <20220310140808.155501261@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310140807.524313448@linuxfoundation.org> References: <20220310140807.524313448@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 @@ -110,7 +110,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; }