From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796156142; b=0wHALu732DlwsFTrjfta4T4+STQr8ituTwXoOcBplEBz7jqj8mjuI9SixJRpv025fE0S xAuU3pVZmBLCIyM5HJrfqD5shMdSmVg3EC+snYEtOsmkKjGQmJu3q5XGdq8IN96pMjqec wSVK7OQsXCKYigP/43YuKk7P1fjlDRD3BQEoqIiVvfIcOhKg5wMnoHQdpxPvAFcIyUvpv +2AuXugGWg1RXogoY4TyLd+lUwU/kyVCWniKCnyOUkOahudQaKyuLWzO9G8bCIDcbNmeE kuHfItEXQfeGl2Dzy/09XIOmUU1gt/WKMFUeQCQQIPYKLrLEpJ75JXpLwbOjhdV14vw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796156142; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:Sender:Reply-to: To:Subject:Cc:In-Reply-To:References:MIME-Version:Message-ID:Robot-ID: Robot-Unsubscribe:Precedence:Content-Type:Content-Transfer-Encoding; bh=AAhTnOlZ+8KQ4b/tyLWV+dxehFwpOmbGy2LIb3kqzcs=; b=MaYBdjxGaNNncKcNrWF5yzFiExMONY8mWf9FPQIeEOihzlNHxmrWPB9t2X44pvaKn9cY 8uXfvyIsP/m46suReaf6ckKBEhm0MTc6aKxugY3Pm2sez7o1jFAVYvJ3BL10tQ3klz/Rk wSdUnfYzU7eGuXoZrvV1SXvp6OKPlrEi0HXauJyaTMWPGudP5tIqWuNyKfGiDMUHu0fSK bFAn9ceNuCVjR02GswoRENYC0n3IByP8NPFpWSvTKjwNqToEdyd4ABCC6I/ofZEggtOoe HaUZe/Bw9Lv7+Wo35Nd0vYDivdydZrmp7HegiMxVkrEgA/xovWIZjG8A/HRGhsWB8cA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=lHrI2YtS; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=dP0ZQlvT; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7989606A33D; Tue, 1 Dec 2026 20:15:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E7989606A33D 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.a=rsa-sha256 header.s=2020 header.b=lHrI2YtS; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=dP0ZQlvT Date: Tue, 01 Dec 2026 20:15:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796156137; 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=AAhTnOlZ+8KQ4b/tyLWV+dxehFwpOmbGy2LIb3kqzcs=; b=lHrI2YtSZ5/G4MhaDpLf5YuOow4aM+8A4TjEx+Vx8/jhWvs+ava2UaiwVJeTfmwvlFMpRx DUl6PP2PZRJyi+CExXNE4KXmcNfXKlnrB+caV79m6n3ma0F9Mn8mcEb7NTxK3QhaZctv4Q ujQMEaH2jngAaXZAs70Z7R9QHU8vpwyw2jyv5bAnCbE+neIo88mzRb5qhNWcTaj7c6gHEV aGbx/qsqjFJqxbKwQWlWSVWH1z0wJcwdoKC3Y/FoauxDrrGI/HxAfNGnpxo0JHtazKeh9m 4rpx3j4aInWinDO2uF17/a02v6oDFybvae0z27KAM8r3pLeHbKMOQm6DcYfmzw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796156137; 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=AAhTnOlZ+8KQ4b/tyLWV+dxehFwpOmbGy2LIb3kqzcs=; b=dP0ZQlvTfx2iPdUiwdd8JlNcsmqjPZba7UJevPTgDjnhhk2VRW1dgd2Kt8YrQzOwgY7Ior l4mgdAYouxwd9iCg== From: "tip-bot2 for Zyta Szpak" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/drivers] irqchip/mediatek: Add OF and HAS_IOMEM dependencies for MTK_IRQ Cc: kernel test robot , Zyta Szpak , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20261125180620.578175-1-zyta@google.com> References: <20261125180620.578175-1-zyta@google.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Message-ID: <179615613604.1190409.3532873296653290587.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: bd915219396ae2855b11b9ebafd408a2d6fc9711 Gitweb: https://git.kernel.org/tip/bd915219396ae2855b11b9ebafd408a2d6f= c9711 Author: Zyta Szpak AuthorDate: Wed, 25 Nov 2026 18:06:20=20 Committer: Thomas Gleixner CommitterDate: Tue, 01 Dec 2026 21:12:22 +01:00 irqchip/mediatek: Add OF and HAS_IOMEM dependencies for MTK_IRQ Enabling COMPILE_TEST for CONFIG_MTK_IRQ allows building irq-mtk-cirq.c without CONFIG_OF enabled, which causes of_match_node() to expand to NULL and triggers a W=3D1 compiler warning: drivers/irqchip/irq-mtk-cirq.c:292:34: warning: unused variable 'mtk_cirq_o= f_match' [-Wunused-const-variable] Both irq-mtk-sysirq and irq-mtk-cirq are Device Tree-only MMIO drivers using IRQCHIP_DECLARE() and of_iomap(), so building them without OF or HAS_IOMEM serves no purpose and can fail on !HAS_IOMEM configurations. Add explicit dependencies on OF and HAS_IOMEM to CONFIG_MTK_IRQ. Fixes: 702ae15488ce ("irqchip/mediatek: Add Kconfig option for MediaTek SYSIR= Q and CIRQ") Reported-by: kernel test robot Signed-off-by: Zyta Szpak Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20261125180620.578175-1-zyta@google.com Closes: https://lore.kernel.org/oe-kbuild-all/20261117144350.wOuBa9ZW-lkp@int= el.com/ --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index aafd2e6..f616381 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -796,6 +796,7 @@ config MST_IRQ =20 config MTK_IRQ bool "MediaTek Interrupt Controller" + depends on OF && HAS_IOMEM depends on ARCH_MEDIATEK || COMPILE_TEST default ARCH_MEDIATEK select IRQ_DOMAIN