From patchwork Thu May 18 22:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 96074 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp831955vqo; Thu, 18 May 2023 15:15:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6frGYcu8/17S6zeYPbGF3ILdO2xAnJBkfO/+fzFE6+lkj2wEVmmU2BkzrWH9DJsEMoj0lu X-Received: by 2002:a05:6a20:9590:b0:106:dfc8:6f51 with SMTP id iu16-20020a056a20959000b00106dfc86f51mr8822pzb.0.1684448119401; Thu, 18 May 2023 15:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684448119; cv=none; d=google.com; s=arc-20160816; b=0XGLsAcE3k9RxNk2ZKO9t9MdDOf6Vz3Zjm3WRXK9x9YckR4UG+PM1DmBkHvTOBfNLu MZj/uMhZ7Sti3lp7d4C1XuSmLZFpVQRqeLBH8qLwllPnB1cw7u3dPvZx+yWWtLZkTLxI cmU92qXBIsm6x/tJ75JQJkcek7JhaeqzUf/qYqMeQr/U1upIk4vtTSA11+SvOZiqaPzt vBd+gcSNJwHTG94aTGMYDGBp1g/yIHj9tyPwTUk/xaSgtbP8h+XMMThG24FVjZE5wdSR crxQfKX+ZouMlN00uFADGOaPQ1Jq9snze9hK4NtfWQmlPwKSjX1Pudv5GMoxZhWNux84 DG9g== 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:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=cBpMz4rE0JEZOPy7/OVV0tk2GJk3DPo5oNqv9QFqpmI=; b=WEdV/oSK0FwmNFm/MK8dnWYn2qw3F9U05UGyC7GhFm7Xdt2F9ZMQTzmEJOFKS1dRV6 BK2Eswcnl06DgQo7TIfwpOdMrK9UMV/DCroKzX3dLUa4rmyKG+B9Te+DQNeZu91rhopw vSjOO2F1OAUD8rF0RbY81mE01gNlwYtXeeUmSwvDT7FKWXh8PmGEA8D1u65C4eLH9axp LGD8khq89y/FczCIE3bYepnTXuNfR6NsybhxtpsQjSYUFoB5CtoChBgY2jGb+2F2Cqm5 1Hb8JX/ExqOUangoarmgSAWZp+/42PD236doalrPmi7PT4NBCQ6YdkqsSt9T83dvHZJM xDyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KwOjbB0I; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HKUxvA2f; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020aa78f32000000b0064d2c1fb45dsi1052437pfr.154.2023.05.18.15.15.04; Thu, 18 May 2023 15:15:19 -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=@linutronix.de header.s=2020 header.b=KwOjbB0I; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HKUxvA2f; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230500AbjERWDs (ORCPT + 99 others); Thu, 18 May 2023 18:03:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230318AbjERWDT (ORCPT ); Thu, 18 May 2023 18:03:19 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E080E6E; Thu, 18 May 2023 15:03:18 -0700 (PDT) Date: Thu, 18 May 2023 22:03:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447395; 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; bh=cBpMz4rE0JEZOPy7/OVV0tk2GJk3DPo5oNqv9QFqpmI=; b=KwOjbB0IOJVFACU1Ow0TJ4Q0UhU6ZxnTWEwU3kF0O3VhRtzNmcmRAvuOZ+jmE21aY1hF9j eItIy3PkSivFVYX88ONCrb35k+kK/V4tL6sbTiJHx5fUTtvEu78BYtCGyYSN05tCsptDUr /4Z99l8ZZe7+2YsyHB6eYY1PY4bRXSsfPKRphVsGWnhTbos7h9C/UQGcMfKT8V36iYlds6 gdsudbeVZGqLrA4sIzXqrce4E9KhUaCcx3gw2GIWsX/0ENKGA2MSqjzvbyxTJKDPuUDqxv huHSo8SGkIcsT0Thqj4L8nBnDSNXpY4fhb0HaX+K5Y7Ts35CAQpCBItgnDSiLw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447395; 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; bh=cBpMz4rE0JEZOPy7/OVV0tk2GJk3DPo5oNqv9QFqpmI=; b=HKUxvA2fddnqZADF2Ku2yk5/K0EiretlmgDsgDD2ajvf8LOSqmEJJidYqa+m8x2fdQNvbi +8IrEFs6AXkMIrDg== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/fpu: Include asm/fpu/regset.h Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739489.404.10346160308726239812.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766271871274340998?= X-GMAIL-MSGID: =?utf-8?q?1766271871274340998?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 16db7e9c6e974a0935494cd31179c819d4cbf86e Gitweb: https://git.kernel.org/tip/16db7e9c6e974a0935494cd31179c819d4cbf86e Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:35 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/fpu: Include asm/fpu/regset.h 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 Signed-off-by: Dave Hansen Reviewed-by: Alexander Lobakin Link: https://lore.kernel.org/all/20230516193549.544673-7-arnd%40kernel.org --- 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 7fe56c5..91c52ea 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"