From patchwork Tue May 16 19:35:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243596 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 261C7C77B7F for ; Tue, 16 May 2023 19:36:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BE8F6280002; Tue, 16 May 2023 15:36:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B97D1280001; Tue, 16 May 2023 15:36:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A604A280002; Tue, 16 May 2023 15:36:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 98EB7280001 for ; Tue, 16 May 2023 15:36:47 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 5FF55C038A for ; Tue, 16 May 2023 19:36:47 +0000 (UTC) X-FDA: 80797125654.12.D116467 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf01.hostedemail.com (Postfix) with ESMTP id 95CAE40017 for ; Tue, 16 May 2023 19:36:45 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=f0SoTDZC; spf=pass (imf01.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684265805; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Xa60m0BkwxL0YwOhVNV3DLj0coMVCK/xcT0wZKHwjqI=; b=Lj50ECKdAE12I8Bky85Rhw3XxXFBpDdOygqcSbPgZxv3XKGImbxyuj6Ah2UWZADfJVwHtO BV1fu9YSFywa3vSL51CfKgpJ0PH2V+JahmccQnlvsotFgc2TH6diCLlp0Zc+SyfMG3uRAz AJl3xbekxn0QWJZUnYJiFXJRuT6/enQ= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684265805; a=rsa-sha256; cv=none; b=ohuXljAvsD1MRwya5cUhmovvSQtOcnxWbZxqZy0RxVt6lw7s3wnqxtiBLTCZpoSeeJJUkZ Q78bHfYYl/g56vA3cUhdaBI0I/fYcQMdwq1DdnkHxZgCBD0ovrPrUT0/mZgKcE+SezzuJI PbaaPn3P0S6Z7fMDK7OL2fdwrrCUGYM= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=f0SoTDZC; spf=pass (imf01.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org 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 dfw.source.kernel.org (Postfix) with ESMTPS id 640B963E9B; Tue, 16 May 2023 19:36:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98313C433A4; Tue, 16 May 2023 19:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684265804; bh=LoIviGdfSLH1ko7JOljz+WAWBtvFrxU7baITA30Kitg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f0SoTDZCBXANhO1JcRHoynXaLVhlO4XJ4vTd5g+5q0mXl9+dwihXQSjEJ2aF5PXD/ YJxxo2zEzGeYvPkjnpK4ydF8PNotm4sCoP7sIPFgPh0+jYX3ClFJbP9hWa/pr/81FH rmiMLwAicNzJUMwErqx6DSJsta/whdlp/sC/tZT1cvxj5paHYr0r+8Nyyo5u5xkv5T 3r84XCOMO59rOsDFBM8wNIcW0zhbFHV1ety++q1mSUr8ScvUEZcAnGwKVpfu1h2uwR waDu2tWolCE9YEYKKmG7d67vPlyLJ4ZYk6cOavjtt4C56mPdY+e8uvRCKegTvnFXKC xnJG4ywBEjUvw== From: Arnd Bergmann To: x86@kernel.org Cc: Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Juergen Gross , "Srivatsa S. Bhat (VMware)" , Alexey Makhalov , VMware PV-Drivers Reviewers , Peter Zijlstra , Darren Hart , Andy Shevchenko , Boris Ostrovsky , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-pci@vger.kernel.org, platform-driver-x86@vger.kernel.org, xen-devel@lists.xenproject.org, linux-pm@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 06/20] x86: math-emu: include asm/fpu/regset.h Date: Tue, 16 May 2023 21:35:35 +0200 Message-Id: <20230516193549.544673-7-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516193549.544673-1-arnd@kernel.org> References: <20230516193549.544673-1-arnd@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 95CAE40017 X-Stat-Signature: j1mmagip93s6f68rs3rougjiycqi6f41 X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1684265805-53686 X-HE-Meta: U2FsdGVkX1/Gd3KkJOKoW3/Ulr8X9/7lKWyO8tQS0AdG+TET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Xm7/kliWzvMrzZjcC5ir41Svkkpb3HXv1LF5I5QSAuHbbS78fiD4Omnux9u73OoJoeVatiwLMlHUXvMo3P2fY8wkL7cChbhmPYn0dJgPo1I+0cRQLI7sMBzS4pRKPnphw+9Gt3z/qofBJZJ7dLYyTYn7orQzg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Arnd Bergmann The fpregs_soft_set/fpregs_soft_get functions are declared in a header that is not included in the file that defines them, causing a W=1 warning: /home/arnd/arm-soc/arch/x86/math-emu/fpu_entry.c:638:5: error: no previous prototype for 'fpregs_soft_set' [-Werror=missing-prototypes] 638 | int fpregs_soft_set(struct task_struct *target, | ^~~~~~~~~~~~~~~ /home/arnd/arm-soc/arch/x86/math-emu/fpu_entry.c:690:5: error: no previous prototype for 'fpregs_soft_get' [-Werror=missing-prototypes] 690 | int fpregs_soft_get(struct task_struct *target, Include the file here to avoid the warning. Signed-off-by: Arnd Bergmann --- arch/x86/math-emu/fpu_entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/math-emu/fpu_entry.c b/arch/x86/math-emu/fpu_entry.c index 7fe56c594aa6..91c52ead1226 100644 --- a/arch/x86/math-emu/fpu_entry.c +++ b/arch/x86/math-emu/fpu_entry.c @@ -32,6 +32,7 @@ #include #include #include +#include #include "fpu_system.h" #include "fpu_emu.h"