Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2931632ybz; Sun, 3 May 2020 12:52:44 -0700 (PDT) X-Google-Smtp-Source: APiQypKJ2ik+TQVNst5gsMmzlmG/x72Y2e6Es1Bfwt9DJP5p9KnRve5K+r1H/McEcWnhcnHnGB49 X-Received: by 2002:a17:906:3048:: with SMTP id d8mr12101633ejd.97.1588535564424; Sun, 03 May 2020 12:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588535564; cv=none; d=google.com; s=arc-20160816; b=wKILGNB/iudj/wmCC2pnS2KRUmh4Ihv4H1d8JN+AxLmfDclOR9Gn5jEntjztGDmYev L4XfgNcEhenZONysgZ0wfI9hPTV2hFjJHMD8my03pHYonZpdnWrUBpfQVoOg2kAkW1tg p5vlglkJEqG3xaRCLjJcjk1jx4TR0VYe7VS9Tel5vpfO/v73pDedqr8VwNUfqVrUC4uc FBIFaHCRT5HJjqlojhlVi9A2HahmfHpZCkxFdyL6wBYZKuALoEeOXfcU3U4SlRoQjlDH Sn1ZTTI+wABxauNuGX5OLA69cYxcgnvAr7utoJnl/cj8k6Yvu5jisHmdPinD7w7e5OdP IKyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=zbsuWOia7B9Sq1erlvidq2Z2bA5edq3PEwNXBGZ8gSo=; b=UEtoBDRb5cEN5bIBZNvaaziWDMrLcgvO62fv7Jrgn80w+iakOLlwQXbqTs23MFp/Tr uU2G2pbsbifEeNd1cnR27e/rn5jNQBclxgl4EKvhTw5q45CijiCsl2MVUuSAD71ojddK qbO6lQ54xcUuVroEYVWcsnMKQaqfVERyHb49S2hguk1XfxU51QjKGjHV1nMOxMNGSQua BsivLHzR5wrD+UlfCgLoB23Bc4TPjRdmpdNKh5TNuJiNqQwbeDTYkDrtRnfe/9QIxyy1 FbhJOtKz4mApJi7KUiUodYMvInoz5mfbsI+rg17+qK8uRxjcSTc6LZpJLA2InM0Hi65J B6zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si5469509eds.503.2020.05.03.12.52.21; Sun, 03 May 2020 12:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729026AbgECTue convert rfc822-to-8bit (ORCPT + 99 others); Sun, 3 May 2020 15:50:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728956AbgECTud (ORCPT ); Sun, 3 May 2020 15:50:33 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80126C061A0E; Sun, 3 May 2020 12:50:33 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jVKdC-0008ER-Gq; Sun, 03 May 2020 21:50:30 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id DF50B1C0051; Sun, 3 May 2020 21:50:29 +0200 (CEST) Date: Sun, 03 May 2020 19:50:29 -0000 From: "tip-bot2 for Borislav Petkov" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/mm] x86/tlb/uv: Add a forward declaration for struct flush_tlb_info Cc: Borislav Petkov , x86 , LKML In-Reply-To: <20200503103107.3419-1-bp@alien8.de> References: <20200503103107.3419-1-bp@alien8.de> MIME-Version: 1.0 Message-ID: <158853542978.8414.4215113723973557504.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/mm branch of tip: Commit-ID: bd1de2a7aace4d1d312fb1be264b8fafdb706208 Gitweb: https://git.kernel.org/tip/bd1de2a7aace4d1d312fb1be264b8fafdb706208 Author: Borislav Petkov AuthorDate: Sun, 03 May 2020 12:27:29 +02:00 Committer: Borislav Petkov CommitterDate: Sun, 03 May 2020 21:43:47 +02:00 x86/tlb/uv: Add a forward declaration for struct flush_tlb_info ... to fix these build warnings: In file included from ./arch/x86/include/asm/uv/uv_hub.h:22, from drivers/misc/sgi-gru/grukdump.c:16: ./arch/x86/include/asm/uv/uv.h:39:21: warning: ‘struct flush_tlb_info’ declared \ inside parameter list will not be visible outside of this definition or declaration 39 | const struct flush_tlb_info *info); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/uv/uv_hub.h:22, from drivers/misc/sgi-gru/grutlbpurge.c:28: ./arch/x86/include/asm/uv/uv.h:39:21: warning: ‘struct flush_tlb_info’ declared \ inside parameter list will not be visible outside of this definition or declaration 39 | const struct flush_tlb_info *info); | ^~~~~~~~~~~~~~ ... after bfe3d8f6313d ("x86/tlb: Restrict access to tlbstate") restricted access to tlbstate. Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20200503103107.3419-1-bp@alien8.de --- arch/x86/include/asm/uv/uv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/uv/uv.h b/arch/x86/include/asm/uv/uv.h index 45ea95c..91e088a 100644 --- a/arch/x86/include/asm/uv/uv.h +++ b/arch/x86/include/asm/uv/uv.h @@ -8,6 +8,7 @@ enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC}; struct cpumask; struct mm_struct; +struct flush_tlb_info; #ifdef CONFIG_X86_UV #include