From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17F8AC2BA83 for ; Fri, 14 Feb 2020 18:06:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E22E02187F for ; Fri, 14 Feb 2020 18:06:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581703602; bh=t+CZ/Xrc3LGCVh6lVgMRcMaaEwqkKuYLyhpdG8JoK2A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=iknQ4FZysxzkbZAuiI+Pl+8VEs5rYo5TdsPZFaaPdl8rzI5NTTFm9aaW3SZ+bUn9Y clPr5FIqly/0jYSm5V1oB4Qm2Wi6a4Jp1eyzQwf8T/EDY07E2eB/EmBQvsoh2NB9PZ bLbKnKu7VFOrHzubeQyv8/6iyDiyJvPQmQFQUy1g= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731638AbgBNPys (ORCPT ); Fri, 14 Feb 2020 10:54:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:35066 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731605AbgBNPym (ORCPT ); Fri, 14 Feb 2020 10:54:42 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9603F222C4; Fri, 14 Feb 2020 15:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581695681; bh=t+CZ/Xrc3LGCVh6lVgMRcMaaEwqkKuYLyhpdG8JoK2A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bSzn091UVd+B2QgLqxadtrdMihEPdyE5xWaloGrVpX0xJAEV9kA6vX0CRrBiWwDW2 35u4IqQGIs79yetZWY9H8Hdt48ZlpepQO+GOh7/1GlcJ3ud4owr9bCr88ZXrE8ZL8f SpSndC+wx0k4S4YgVeSr6WYFAGOnGEmtv9NzGFWk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Valdis=20Kl=C4=93tnieks?= , Borislav Petkov , "H. Peter Anvin" , Andy Lutomirski , Ingo Molnar , Thomas Gleixner , x86-ml , Sasha Levin Subject: [PATCH AUTOSEL 5.5 267/542] x86/vdso: Provide missing include file Date: Fri, 14 Feb 2020 10:44:19 -0500 Message-Id: <20200214154854.6746-267-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200214154854.6746-1-sashal@kernel.org> References: <20200214154854.6746-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Valdis Klētnieks [ Upstream commit bff47c2302cc249bcd550b17067f8dddbd4b6f77 ] When building with C=1, sparse issues a warning: CHECK arch/x86/entry/vdso/vdso32-setup.c arch/x86/entry/vdso/vdso32-setup.c:28:28: warning: symbol 'vdso32_enabled' was not declared. Should it be static? Provide the missing header file. Signed-off-by: Valdis Kletnieks Signed-off-by: Borislav Petkov Cc: "H. Peter Anvin" Cc: Andy Lutomirski Cc: Ingo Molnar Cc: Thomas Gleixner Cc: x86-ml Link: https://lkml.kernel.org/r/36224.1575599767@turing-police Signed-off-by: Sasha Levin --- arch/x86/entry/vdso/vdso32-setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/entry/vdso/vdso32-setup.c b/arch/x86/entry/vdso/vdso32-setup.c index 240626e7f55aa..43842fade8fa1 100644 --- a/arch/x86/entry/vdso/vdso32-setup.c +++ b/arch/x86/entry/vdso/vdso32-setup.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include -- 2.20.1