Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1225885lqp; Fri, 22 Mar 2024 08:50:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/6EEkb+65uQ+UVgArKLxr1T90kBN27em05joDFPij9R4bThdvf9H0+CiisgYgFrhX6qvnMm0Dvn1+TSdY4QjbnnJMCIWP0P0IIsbKFQ== X-Google-Smtp-Source: AGHT+IF7aHwEb2NFgqGFeRkiuJ+TpNloX4xs6y4LYTdCKFg1SdDQM23ifWwsuAELt4owxiSKWQjj X-Received: by 2002:a05:6358:c6a4:b0:17f:565c:8db2 with SMTP id fe36-20020a056358c6a400b0017f565c8db2mr1629105rwb.12.1711122620490; Fri, 22 Mar 2024 08:50:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711122620; cv=pass; d=google.com; s=arc-20160816; b=AkAP5DR52t+bXt5zQ4SWLEDDeaVIQdI1EU4Zn4mzq63GlISHAf0w1vVrfZ06esAiry EZVpXEDUvNflkBgVqRAteMvivOR++PuEOi5sDvZAyaBcBpoSRj/sOpILNQMEZR34f1S+ x8nWXKM4iUurk2PMysPSVrP9EMeOycXqzNhXPvzZJCBlWlbOhOOtTVW8eea6xH5xTZyD nXkoiAXSv9nGvh31w1q2akaXON7gc57XdSQo0qtGAuu13ynh8XCgoSAqDRZtxMD5PSMR pJFx2m1W0ByK8AqY0lHmgYimpC0jXNiiJRztWMec5PteTtPrM6caNp+9BmXro/6EoNU1 5FFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=MA2tdrapxYa9p6qfcN0tF4aFYu41GBC1RZAw43t2c9Q=; fh=q8DhLEOtbOC9e+7s8hUItqB7AptQ/f6TqL7QZlOvQ+g=; b=dbNoFH3fWCwHe4eyvyy5pZoMHsJ2dyJddis1iZhOyMrEIKDDgb4PfwwVxKvwRO0drc iYJHe95g+riLp5Ot1cea4L6fYMmGqkpUEYA56lD2J1XydAM5JC3xIn3Rt6IAni3RL5Gj 2kI1fEtaY+bt0j8NFpEaEFoSRaXspUwhM5kno966Xhz7vJRtzLEhQxJ80YzC1A+WlGHo pdkF+HHer9T9d9DmK6KsNCy+RmTJ1jpbixU5HoBqcGBgVpAjxX2LfZB3go1XIREmyErS ex7cFL1DaUJlOL44V+aydhSSziDUYIqeTyIXD1DoxPiOqfymyQ2wY5YUyMVX/M54Qe9T 9LyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="MTNi/mVn"; 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-111727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111727-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m9-20020a63f609000000b005dc47b71821si2228772pgh.572.2024.03.22.08.50.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 08:50:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="MTNi/mVn"; 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-111727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111727-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 26DED285AFF for ; Fri, 22 Mar 2024 15:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0791C55C0A; Fri, 22 Mar 2024 15:49:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MTNi/mVn"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="AUFcZLKi" 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 82A3C53E2E for ; Fri, 22 Mar 2024 15:49:46 +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=1711122588; cv=none; b=KzGvTOOp5oKdLIQSNnaAOKInMnarFwPj9qYf5kG/QgYG9lQqhiNsSKaM4wNVZ9eOgPQWVsjo8BtJteL5kp60kEFTsXPPgFhTAf/K2Glx5jfL09erEZXyZ58rljOVGxEV9eQSUHXL0Crtp2ZLWfKVWuY5uKkRlOYhWyJX0c7u8S0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711122588; c=relaxed/simple; bh=17thP1zMe5HSzVkJms2UMrY4egnGrIgVfUJ7edUHi7c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RDvFjfouQiH5vYPPX6w5RCTO9g8HfM++hJvIC5VzKi6id59QLPrKusbYPFf+eKw1efg+WRxjImuA1Ez+MULyGG2NSA4qX7HvfXaJssvxq91b/FAn2GWofZOjwYqomF2iRXpuQFGl+dQNgIzosdQ+1XFuA00A3NWNVwkYWY5X6ck= 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=MTNi/mVn; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=AUFcZLKi; 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, 22 Mar 2024 16:49:42 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711122583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MA2tdrapxYa9p6qfcN0tF4aFYu41GBC1RZAw43t2c9Q=; b=MTNi/mVnGtNznYr8WCtSHFYeD6yinJRI2XX9adOuturf0mLGaYE0oMW8L9quWm3xXvUiOq p2xGTFav2rB3am1EzbDlVl+6apHsOfQuZ49lMCmU4DaCAhuXyLT7dk78um0xv+/M9vLaDv 5fvI6Tjv/Zhip363jODzG+CLsCltf+9sNOiabGGB3vWPPzNXwSHnE+oQcmn8yzqT4tt0jZ SGXzOxLMOWRiVlz5DTS2aF/+AmzcZ6AmOYKNZy3EyyIIfUxEIMbAS71w0EjiUaekc9JfUM Iisnsb8q8rgBkaBlBoghqCOM1AUQ9A+HvGTNFxsbMBM3td4ub0iMcGv9wmaeKw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711122583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MA2tdrapxYa9p6qfcN0tF4aFYu41GBC1RZAw43t2c9Q=; b=AUFcZLKiEs/ZBqpEE1U6buTzmEIdMrsDmdF3uQbXPM2PTGNhQVvY6EJXi8w6c10beuCSfp z8uNdBj9DBfuzeBA== From: Sebastian Andrzej Siewior To: Arnd Bergmann Cc: Thomas Gleixner , Arnd Bergmann , Peter Zijlstra , Kent Overstreet , linux-kernel@vger.kernel.org Subject: Re: [PATCH] irqflags: explicitly ignore lockdep_hrtimer_exit() argument Message-ID: <20240322154942.XIaqXpjU@linutronix.de> References: <20240322132048.906325-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240322132048.906325-1-arnd@kernel.org> On 2024-03-22 14:20:41 [+0100], Arnd Bergmann wrote: > From: Arnd Bergmann > > When building with 'make W=1' but CONFIG_TRACE_IRQFLAGS=n, the > unused argument to lockdep_hrtimer_exit() causes a warning: > > kernel/time/hrtimer.c:1655:14: error: variable 'expires_in_hardirq' set but not used [-Werror=unused-but-set-variable] > > This is intentional behavior, so add a cast to void to shut up the warning. > > Fixes: 73d20564e0dc ("hrtimer: Don't dereference the hrtimer pointer after the callback") > Signed-off-by: Arnd Bergmann Hmm. Seems I forgot about it https://lore.kernel.org/all/20231120153953.kGBSHe5j@linutronix.de/ Maybe we could the commit message from the referenced patch. Either way, Reviewed-by: Sebastian Andrzej Siewior Sebastian