Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2195550pxb; Mon, 12 Apr 2021 17:35:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe9jz6Dr36vAs4qShfd2JSKZeWzDUIkaWC0XEAfrOwq5KtplPHWew8KKaYFRkqZkoDW4Ri X-Received: by 2002:a05:6402:42c8:: with SMTP id i8mr31984796edc.386.1618274149719; Mon, 12 Apr 2021 17:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618274149; cv=none; d=google.com; s=arc-20160816; b=op40JaPIL89ub/E1T4fD5E+ucZrCZPUnlWpxKp3enV987skYqIDVrFZ+S7rooNMK7h ZJhgB08broHvCnuo8OognCw1R2Aimsp/jarBRXo0WloUE0Ch5NBXfj0rc+gYgvU2Cs8M 2Fllbr/gMXi61pQrJm8hJ5FjQ4ui7V/G7PPjMTMZPxbcjAw1PKpIDSIghlrXwc+G9jo4 e3pPGOAjSp7Hfu1oRKn4Rels86UFD92GFzz8sUU6+6hh4UAfD0wG6x5i0rJEQI2EZsBb 7h1Ex4WQtd+0lz54dmBKKOWDqzjuah7sxXn7CPqdvWQXQBzai+mnv/NnjeJa/Ll6K5Mq CabA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=6Zaz73R9w1GqcZ3cTQvrV66yQlVChE6T2iNlE1h9BHg=; b=NPfdz2IIErZkxgNva20+9zd91YUVpFNPMleEEyYPVXJ3eApg/0eZOAYDpApSBtksSB 08AJ5W7ZDoc3ODOUfLwTilUv4kwBkRVeS3o77X7pxVWvNQg5JCreVwiDMhIPlNsHnSBV fVWIB1WmTM8ipy6Mjln4yQ7F42xrMdMM0cRr4x4/d2wZj+h62AY38YxlyWQZPIFsCINy OgmT/8O1z/QU6bLxnR3D5g3eGi1ymNiMlajc6JEDzVoHoFjZO50afSfBE7YsBs8msaSx 1GY6hckyCTnAAe/scozneGFrqtwjJnp65Lgtgwxq7wd2jVvc9Ol2M7XBz/Ktz8/fkU2W rfYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=I+fVz3Ue; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=YJPDvo5Z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si9224728edn.352.2021.04.12.17.35.26; Mon, 12 Apr 2021 17:35:49 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=I+fVz3Ue; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=YJPDvo5Z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237520AbhDLLPv (ORCPT + 99 others); Mon, 12 Apr 2021 07:15:51 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:38482 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238912AbhDLLPt (ORCPT ); Mon, 12 Apr 2021 07:15:49 -0400 Date: Mon, 12 Apr 2021 11:15:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1618226130; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6Zaz73R9w1GqcZ3cTQvrV66yQlVChE6T2iNlE1h9BHg=; b=I+fVz3Ue+2r7baUlNIrNh2ke8fkboYoAzeowI8ZpZwTuZjzl86KvFvBO4F6rJRzLLdMvv4 p9aK3H6Wca9fbs/cTJWPjArx3J8ap+w6i8sd9WAh+au7V4h11VQvLdGZ0PDmsjamyvXwdn dGsVYWoX4kVi/hLtXUUrVzj9RUZmjgFcY9Gnt6XwBRxRppbTiNY1qg+VvOoGYxCOqAkwmZ VWe++NCUiR+JNGRq2NVn2zmECFBMOYL8FAA7COEBVIVJvdiqJTQHPiCcW/wxwejKHjbi0t rwsrhHJ8rcbYwYHBdOAXFnVsdCHtw/Y7ct5+izWyRJO7quaCmWHPLojPPWOVQg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1618226130; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6Zaz73R9w1GqcZ3cTQvrV66yQlVChE6T2iNlE1h9BHg=; b=YJPDvo5ZUfO9IgORMU6ifWpowpKhWzzPfXFUJkKC9hWQXggZcz+O+NWgaZ+TnL2eRRiW9Y moPRApkYP7A3fhAw== From: "tip-bot2 for Jan Kiszka" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/asm: Ensure asm/proto.h can be included stand-alone Cc: Jan Kiszka , Borislav Petkov , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <161822612957.29796.15730791340399984286.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: f7b21a0e41171d22296b897dac6e4c41d2a3643c Gitweb: https://git.kernel.org/tip/f7b21a0e41171d22296b897dac6e4c41d2a= 3643c Author: Jan Kiszka AuthorDate: Sun, 11 Apr 2021 10:12:16 +02:00 Committer: Borislav Petkov CommitterDate: Mon, 12 Apr 2021 13:12:46 +02:00 x86/asm: Ensure asm/proto.h can be included stand-alone Fix: ../arch/x86/include/asm/proto.h:14:30: warning: =E2=80=98struct task_struct= =E2=80=99 declared \ inside parameter list will not be visible outside of this definition or d= eclaration long do_arch_prctl_64(struct task_struct *task, int option, unsigned long a= rg2); ^~~~~~~~~~~ .../arch/x86/include/asm/proto.h:40:34: warning: =E2=80=98struct task_struc= t=E2=80=99 declared \ inside parameter list will not be visible outside of this definition or d= eclaration long do_arch_prctl_common(struct task_struct *task, int option, ^~~~~~~~~~~ if linux/sched.h hasn't be included previously. This fixes a build error when this header is used outside of the kernel tree. [ bp: Massage commit message. ] Signed-off-by: Jan Kiszka Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/b76b4be3-cf66-f6b2-9a6c-3e7ef54f9845@web.de --- arch/x86/include/asm/proto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h index b6a9d51..8c5d191 100644 --- a/arch/x86/include/asm/proto.h +++ b/arch/x86/include/asm/proto.h @@ -4,6 +4,8 @@ =20 #include =20 +struct task_struct; + /* misc architecture specific prototypes */ =20 void syscall_init(void);