Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp72289lqz; Fri, 29 Mar 2024 08:55:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHauCyf7KfXOkYMJ6STYiUoq4SitfYI0hCNuiNcXqAmYcZlWEBltdrbfjzeO37zzL4oq+VaJFOjwSTOd9YZSAHaTtn6XHDG5ngZ6UzYQ== X-Google-Smtp-Source: AGHT+IEFpX/C/Dt5WpjEpnCrkq6IcQt5OCxif7XQm2tug41KLO68EY+ek32cGO4uz9ifKIr+r8qk X-Received: by 2002:a05:6870:c90a:b0:22a:508a:66e4 with SMTP id hj10-20020a056870c90a00b0022a508a66e4mr3136433oab.12.1711727750383; Fri, 29 Mar 2024 08:55:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711727750; cv=pass; d=google.com; s=arc-20160816; b=q6q1NRIcjIzGVDzInD8kwzzZNEkp/tv97IJXH9jN43rjpKplPrpU1j6AOS9epJ2jwb YGdm1HPBKWuX4qcWue/FlSWmFHIHJxEGI7NXJR2rL4V4Cmda8Mp7VI447r+swutv9c3+ AypqoToV5zWejP2YqrK7V1Rv3uT3BQXim9r/P9p2LFbMIeCcSVnq2vLptOZuM0Gy/sCy LZWVd/JDSYkoKgQmsQ7ZW3TapPMPwOPhXPj18DffwCFDY/aD15bpg4emN8+qRR7HdeV+ /kylct7EQ2/rnJxeY+NDJS5bSjKAEuzTyyV/0h8Fj2rgPWPEKhOF8Jb3rfFx7S/IV+Yk zU2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=IB2HtUxxAUBEkmBV5gBiXdcQh/3BcG4ClBeUM2e237U=; fh=uFjteWtJRyrlYdB6ohtklpYBVMcAing0OpOR+7CfYhA=; b=cgdJqvX2uU8S6HdAFzYnPvO2Je9VlHO6NRvFYP9lG4nJvowjIwTSHN56hnZfrY6MDr yblNVKZ8KEEHvkO6h1GhceRZXrgGu3TSZheiMUpcbmSUcEKlHmLJTjNak+BYBDxA4RaQ aH0u9JD3Ks9poA0Kd2x1CvQN+KfUpFB3hvhoI95IbmWOlto43/CxFhKDzlwLVbY6nZvl rYUHeYiC2fQSNhBL/w5jWxOt6/qKE2mwjrvGBJu37Ferj//uozxtkrPdvagOX6dpLFiw qjunzH03k9h7YMLHWmjJxWUUU35b5LfseW+T+wNMk9L5+opDHu72c2FiJ1P4q++yiLiE 1CZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jFuK7F1n; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-125072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l4-20020a656804000000b005e84998d26dsi3890263pgt.867.2024.03.29.08.55.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 08:55:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jFuK7F1n; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-125072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4FF6CB2AFAF for ; Fri, 29 Mar 2024 15:07:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1D8F145326; Fri, 29 Mar 2024 13:41:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="jFuK7F1n"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="28uhuuIP" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 592A3137C4A; Fri, 29 Mar 2024 13:41:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711719685; cv=none; b=E454xHhH0F/ekQ8zzUW95nhEUyyfOY+BFjXLXwV/f/OUK38RMbFctu2Gi711FhWhhs32uUpKxGDK9bwOeteDOuYcsmv1V1X1DLbbZuxda/ydJe4Vy0KaShKrP1I4dS7kGbn8VeLlo1R/DQF/WaY5OqOBGusnG2u61YGL3MJdEss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711719685; c=relaxed/simple; bh=heN+WKKSeAHoAwskdQRgyZ0tL1FGjT4BvcNf+5bb8Ac=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Efo2i3PCHeznlfC+MIV6L8AhVG1N3bgJT8Zo5JmhoK6hfyD+bdFy6MU5tBWJ8UB+fMLx2TawMcnoMGmtBXwqC+KQTSbQU7Dbfq3X3iM9Xg3k7+W7re7Ub40gXbGpxIQHAEVO24PUor1qidbXeI+9sJ1ApZISTljx3tBiW6177iY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=jFuK7F1n; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=28uhuuIP; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 29 Mar 2024 13:41:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711719682; 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=IB2HtUxxAUBEkmBV5gBiXdcQh/3BcG4ClBeUM2e237U=; b=jFuK7F1nt1HSgF62Se4GmYWvsIGzAAhJpwp2XhTkEs8WrH9LAZPg5sjxuq3AVObsY1mr+r mESs/PKe1tfQxAmy3eXxFhZ2q1B885VAcaNglgVgL9fXgRJvZ6JoPobvFZoIbMiyKQPOTL MTLSBTY1qp44Pu9lMx7k5M+JKr7CPC1R+IYabWllMqHdZ2mVByJmMwcy1cGXTyGhK1QqID smFwTZY3GVzfzOVqXYG73A/ZQgwEx9NDCKMcxUGt81DK83GSrB5AUyUIX4GK9/DSzEtb6Z Mndo/2/vtYj5focdC3v1sU29bs241B3LvAHn+yLz907MFqKcGgyZIhPWg22kvQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711719682; 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=IB2HtUxxAUBEkmBV5gBiXdcQh/3BcG4ClBeUM2e237U=; b=28uhuuIPeFgx0qfWw1a00XmpO22u1mz1AwQe3saCrlbs6E3Cj9l4uiYBAZwsqnJWWZl7Kf zzGdN3ywVszqEaCw== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/fpu] x86/vm86: Make sure the free_vm86(task) definition uses its parameter even in the !CONFIG_VM86 case Cc: Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171171968134.10875.11841808669108375691.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/fpu branch of tip: Commit-ID: 5ca28d24aecd0809d93da2ea73a4f6e4b2ccfa78 Gitweb: https://git.kernel.org/tip/5ca28d24aecd0809d93da2ea73a4f6e4b2c= cfa78 Author: Ingo Molnar AuthorDate: Fri, 29 Mar 2024 14:20:40 +01:00 Committer: Ingo Molnar CommitterDate: Fri, 29 Mar 2024 14:24:50 +01:00 x86/vm86: Make sure the free_vm86(task) definition uses its parameter even in= the !CONFIG_VM86 case I ran into a case in new code where free_vm86(task) was the only consumer of the 'task' variable: arch/x86/kernel/process.c: In function =E2=80=98exit_thread=E2=80=99: arch/x86/kernel/process.c:118:31: error: unused variable =E2=80=98t=E2=80= =99 [-Werror=3Dunused-variable] Robustify the definition in the !CONFIG_VM86 case. Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/ZgaFfyHMOdLHEKm+@gmail.com --- arch/x86/include/asm/vm86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/vm86.h b/arch/x86/include/asm/vm86.h index 9e8ac50..62ee199 100644 --- a/arch/x86/include/asm/vm86.h +++ b/arch/x86/include/asm/vm86.h @@ -84,7 +84,7 @@ static inline int handle_vm86_trap(struct kernel_vm86_regs = *a, long b, int c) =20 static inline void save_v86_state(struct kernel_vm86_regs *a, int b) { } =20 -#define free_vm86(t) do { } while(0) +#define free_vm86(task) do { (void)(task); } while(0) =20 #endif /* CONFIG_VM86 */ =20