Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1742394iog; Tue, 14 Jun 2022 12:15:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXuowPfH/M76FN+BVBKm2oluLOBhV47DDISnDdoYK+FA5KIGKdBJyWrGaV2pIvGRMbv3ER X-Received: by 2002:a05:6402:299a:b0:435:c75:64e6 with SMTP id eq26-20020a056402299a00b004350c7564e6mr2788568edb.134.1655234108333; Tue, 14 Jun 2022 12:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655234108; cv=none; d=google.com; s=arc-20160816; b=o9BWcCQoyI+KvJCMO53xSzng4LIT7hYMdq9lvKUOkNaNzi3c13GJHReZCrEv94JzoU HUaLs0gKAO+tEC4WevhoO/HIw5m9aW/YoPqJn1x94kjZvwO1nDew4X87JQO54FLMyDOg 6kh0hNWQgUMj7Ylef2FeAkL6Jionw7SywBuBRY9Djv3j+8wTRRwFm5Q2hFXiChU+mRMQ 1tcNtTrbjWnJqU2F8wQaHd1qTTRvo0464RxJORgvqPYg0X1hZxFPO8G+h5Dh/476EPvD XHvOz2wadUrqmwtgMoYDDsmvWtCsDllCNR6xejEu9CZjzZGc1T+mMV6yk4ZppjBsFShx PwfA== 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=ZzIpRJkrbYgXGdWhZZPEyOl+tQQNpe0s1R3UhTWqaNU=; b=IA6N1ULbv99w4O2zKXaeuKEW08kA1wyfvxSrnHdMlDeexRTcdMb+q5KWLurXxzbFap sUH2I6Hr1kpGJ8JX8Rp5v1vifXHPSV+2NMutbOS8hCS+NmBnMByp6F3Dv1T0i6auIaWD Ssawrr1B4MLkSI7NU+FsYP9UHiNAtbPO0xAbYK0ERDB8KfA+GWu8iHxioBjuCljnI4PC RXchCnvF1bszkL0fiUh1T0iCsFyY02HfMPEpG5OmHtA9LsEzFJSwlqDkLZpSGbhgZoXK x8F+/T32qUilI3izg7iDRu9GgEp+ulNLdfsDFFQGs/6/LCU1dzk9SXfhqKR0q2gh+N8v S4jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ua2reheG; 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 30-20020a170906025e00b00702d7a823casi12258826ejl.317.2022.06.14.12.14.42; Tue, 14 Jun 2022 12:15:08 -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=Ua2reheG; 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 S1357643AbiFNSrG (ORCPT + 99 others); Tue, 14 Jun 2022 14:47:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357465AbiFNSpS (ORCPT ); Tue, 14 Jun 2022 14:45:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85296BCA; Tue, 14 Jun 2022 11:43:44 -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 46C87B81AEF; Tue, 14 Jun 2022 18:43:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1EF2C3411B; Tue, 14 Jun 2022 18:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655232222; bh=8JHjulThWdYpSXpcMC7/ftnEiVywMATYxrFG+7e5xzw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ua2reheGHSmAM6nifiTsb8Kxu703iRt9Q7MkN3KxtbSOlEOtGDsHZNIRcfL/od8oN YxNepG09HGAcZwxsaFbXO5TMY4pJrYyrKJa0kvIaO8x6LGj+sibRPVa3LV9SUQO+AI ZCmXdU8vi5f+B+qs7LDQVrvJIYDwvSrflnJmNVS8= 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 Subject: [PATCH 5.4 01/15] cpu/speculation: Add prototype for cpu_show_srbds() Date: Tue, 14 Jun 2022 20:40:10 +0200 Message-Id: <20220614183722.001376874@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220614183721.656018793@linuxfoundation.org> References: <20220614183721.656018793@linuxfoundation.org> User-Agent: quilt/0.66 X-stable: review X-Patchwork-Hint: ignore 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: 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,