Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1737145iog; Tue, 14 Jun 2022 12:07:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyoMQuqSosPkDwwtZayYhwiQGRgkpDTi3qrUsuwAxhbWFT25P/91+ILNHsyLnvqyvvo+Ue X-Received: by 2002:a63:87c3:0:b0:401:eaf0:ff18 with SMTP id i186-20020a6387c3000000b00401eaf0ff18mr5745038pge.153.1655233676340; Tue, 14 Jun 2022 12:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655233676; cv=none; d=google.com; s=arc-20160816; b=wgKDhw3YQ1bYGQQLmPh5Xhv9KrNYCQMmIUN9pOJkpEGtgLkmU0JNRbQRilqEmU+y7T 0k9ybSCz4oSPME6xjUYdYWfupEdHUZV/pyQNN8FOHDJGLlUNuKH6QBUXWhARZKCgBi9K 1gD9Rd33b70n+7DR7kS9WyLVnljsq4My8i2hbQQv7Wss0Kbp6Gq7WUTxOmkX3KcTMp2I M0AoByakYpgqD+Y5Q/4A4mzpsOheixo9fVJIg9D2qwqIdjk+n1DFLVT78zfBcuvtcEZR YggNhD5rNs1qloI/ljXnnYppq9QrvOdZ8+VLquzvQDMNm/vofZrRJDoxGm8KjLejOw+d 041g== 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=eSYArvMdcx0aB0fXFzgUO407niQ2MpMYMZLUVU5+fbQ=; b=dzT1ct3lSm5u599zEqMo8tcwHB71PZD/1YFModlcxULfiiPVJyK9JAYJK20yPZ3jLy znsgKV+iLcy753/jplxuQDOflBIXqabdtPaSVX9ZbQCbriSxKYgfP32luh7zAVQsFg0t MRdN8U/YBP3xIhDcFsQd7iBiGFksDEbiraqhChzyFOqb+oq6dmrwflvCW7yLb7MO8RtU tE3TqgoTJX9LnxjsvcoPNX+i/nGoejEXdL5GwPM/qUs9eFJQqaqJ1D+EAHTfKsCr/Ssp bdsiRPSk2JwGdHRMkSnRYJEr0bdaX+pcWTD9g4gGMv9BRj+bK09tCVBYFopDkRFJninG ICIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PifRq+wU; 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 gi12-20020a17090b110c00b001e589a828a1si17739288pjb.75.2022.06.14.12.07.43; Tue, 14 Jun 2022 12:07:56 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PifRq+wU; 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 S1357287AbiFNSpk (ORCPT + 99 others); Tue, 14 Jun 2022 14:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357266AbiFNSm6 (ORCPT ); Tue, 14 Jun 2022 14:42:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 565334A903; Tue, 14 Jun 2022 11:42:08 -0700 (PDT) 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 D8048B81AF1; Tue, 14 Jun 2022 18:42:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35C46C3411B; Tue, 14 Jun 2022 18:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655232125; bh=RnmCG4OsvJt2eoM8PLaM8TYlAXhqkJ+2MBbSQA+5vK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PifRq+wUlSxj024MrGJfDZPdaxwHvEKSBCmEOG9gRJ786Yjrno56N3297E4x5fBtG j40iMIbkgO/r1KEJ3FO9ojuqdhAh2gJdyB8eTni/77LnnEfyPQM4lWHljlVnJ/+mzN enGx08FI/28xc3X2Lm6Vl1B+dXLn1WTqHtnsAaxk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Guenter Roeck , Borislav Petkov , Thomas Gleixner , Thadeu Lima de Souza Cascardo Subject: [PATCH 4.14 02/20] cpu/speculation: Add prototype for cpu_show_srbds() Date: Tue, 14 Jun 2022 20:39:53 +0200 Message-Id: <20220614183723.921807953@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220614183723.328825625@linuxfoundation.org> References: <20220614183723.328825625@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=-8.3 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: Guenter Roeck commit 2accfa69050c2a0d6fc6106f609208b3e9622b26 upstream. 0-day is not happy that there is no prototype for cpu_show_srbds(): drivers/base/cpu.c:565:16: error: no previous prototype for 'cpu_show_srbds' Fixes: 7e5b3c267d25 ("x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation") Reported-by: kernel test robot Signed-off-by: Guenter Roeck Signed-off-by: Borislav Petkov Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r/20200617141410.93338-1-linux@roeck-us.net Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: Greg Kroah-Hartman --- include/linux/cpu.h | 1 + 1 file changed, 1 insertion(+) --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -64,6 +64,7 @@ extern ssize_t cpu_show_tsx_async_abort( char *buf); extern ssize_t cpu_show_itlb_multihit(struct device *dev, struct device_attribute *attr, char *buf); +extern ssize_t cpu_show_srbds(struct device *dev, struct device_attribute *attr, char *buf); extern __printf(4, 5) struct device *cpu_device_create(struct device *parent, void *drvdata,