From nobody Mon Jun 15 00:10:07 2026 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 15E511DFDE; Tue, 7 Apr 2026 09:20:21 +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=1775553623; cv=none; b=hfASE+lumNmqr4D3cOEs8hpM3D3+qFd+plTzLiPe+86tZfB5UdOE9W52o+fMjUT7mDbryCfHw0UKR5DIrWcda0KJGOm0+x+t9ARkO6KH2iae6G0OaEVmIiPeGOdO1NWKFGkMkmcxkhSZ8lavaDd9q0jzi0AFhcTFYswwe7YPBqA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775553623; c=relaxed/simple; bh=5YhDkqE9jw0SRrh8pyMYPvffcNP+ipA9XABzwQHZqz0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=kVxQjQhJYlwWkEr7Qc1CEDIW4Mfa6xKtMYVjvJIN6tvUWaaCk9G4lvGgXQDL2QAhtRuS1WRinqXvCUh8Pmb3eNYlwuS6cnvDdN1wvxjL6uL7NJmmGhW/txHWMcEt91txJ8joY9CVeDlfJtM9RgsnvNld5zlZQ86dpszEHJV4XjY= 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=uz4Pd7Ou; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=lVmX8R7f; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="uz4Pd7Ou"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="lVmX8R7f" Date: Tue, 07 Apr 2026 09:20:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1775553620; 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=gft0I7/vpipREoBwFciDQOz4mGQfFYOYISftCpPFUdQ=; b=uz4Pd7OuSBNVwysR0JYxiEpwNW6a9OprIIii4bBqnvOUEeq7jyMjDzQ4rMMF1dbpvYhbnL u/JkgP25ug1Bx30Jq7NtbBYZ8D82PIXkXtWx9hIpTEXE693HAwXAVraA/0FqnuKlZZF9EZ rkW3pAui+GEMmMp/zgxE2R7S+1x5NYDS8L8cyxPHtFWQRE6kYgFm02oNlIrQJaOKk5LeR5 J+JfTCHm5ee0+ExnDjbb83uLlMuKI4bTCh2Wbq0a+T3fbUjjkloLReU5Igcf18RkiPYFJ3 GLgXiCA9fl+RMITlUWgoVzjdD9wd8Ke7LihD7400EP4B0Ab1pmdI/6Ee6uEshQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1775553620; 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=gft0I7/vpipREoBwFciDQOz4mGQfFYOYISftCpPFUdQ=; b=lVmX8R7fsCKBj0aB1Wv6sZXA1fwiQNoa6y7s+qOIMgd4RV8Nmv5wwn+HsB/y/YFjZqqOMZ sbyihrncWJkO8KCw== From: "tip-bot2 for Brian Masney" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/drivers] irqchip/irq-pic32-evic: Add __maybe_unused for board_bind_eic_interrupt in COMPILE_TEST Cc: kernel test robot , Brian Masney , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260403-irq-pic32-evic-unused-v1-1-447cdc0675ec@redhat.com> References: <20260403-irq-pic32-evic-unused-v1-1-447cdc0675ec@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177555361846.226963.7398741054346154367.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 irq/drivers branch of tip: Commit-ID: 1fac04a0a4737c4da3d55d7708931166a4a7136a Gitweb: https://git.kernel.org/tip/1fac04a0a4737c4da3d55d7708931166a= 4a7136a Author: Brian Masney AuthorDate: Fri, 03 Apr 2026 17:12:17 -04:00 Committer: Thomas Gleixner CommitterDate: Tue, 07 Apr 2026 11:19:02 +02:00 irqchip/irq-pic32-evic: Add __maybe_unused for board_bind_eic_interrupt in = COMPILE_TEST There are a few ifdefs in this driver so that it can be compiled on all architectures when COMPILE_TEST is set. board_bind_eic_interrupt is defined in arch/mips/ for normal usage, however when this driver is compiled with COMPILE_TEST on other architectures, it is defined as a static variable inside this driver. This causes the following warning: drivers/irqchip/irq-pic32-evic.c:54:15: warning: variable 'board_bind_eic_interrupt' set but not used [-Wunused-but-set-global] 54 | static void (*board_bind_eic_interrupt)(int irq, int regset); | ^ Annotate the static variable with __maybe_unused to avoid having to put even more ifdefs into this driver. Fixes: 282f8b547d51d ("irqchip/irq-pic32-evic: Define board_bind_eic_interr= upt for !MIPS builds") Reported-by: kernel test robot Signed-off-by: Brian Masney Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260403-irq-pic32-evic-unused-v1-1-447cdc06= 75ec@redhat.com Closes: https://lore.kernel.org/oe-kbuild-all/202603300715.4HuMMAFb-lkp@int= el.com/ --- drivers/irqchip/irq-pic32-evic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-pic32-evic.c b/drivers/irqchip/irq-pic32-e= vic.c index ecea7cb..3c48288 100644 --- a/drivers/irqchip/irq-pic32-evic.c +++ b/drivers/irqchip/irq-pic32-evic.c @@ -51,7 +51,7 @@ asmlinkage void __weak plat_irq_dispatch(void) do_domain_IRQ(evic_irq_domain, hwirq); } #else -static void (*board_bind_eic_interrupt)(int irq, int regset); +static __maybe_unused void (*board_bind_eic_interrupt)(int irq, int regset= ); #endif =20 static struct evic_chip_data *irqd_to_priv(struct irq_data *data)