From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A97903358A8; Tue, 16 Dec 2025 11:19:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765883952; cv=none; b=TqSo9YGTQmEnfcpx0CtUCTFl4E11bH0Ipi2N3DQ7Za4qs6xjwpOrIiqkLaFzx4k6fp2ZoXCyCHroqmhy1j55U/4x+aqcP6oBkA/aKtDIc2yj77kYotXlEaCZAEQWhAPHmtIVWhqF4i3YZS1CvoG46/5IjhUKLjr9GpMunhhpqck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765883952; c=relaxed/simple; bh=Sdr39YP4efgF6Hp056dleLYk4j8kF666Dakq1bgxlAo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R0oe4M/ulu5w4XV7dGml/5d11ZQ+j3IN4hKWSX1KKFKeAeYHVLxqXWzHBuISJU44Hxb0XEVWU934W9fD/EduXPiSMGUiAZ2oppmK55zsdBGutzramb2dY+jrsKELkvcdkpDsX3RsUOa1dRuytTD0msQNDSAmLyd51tTgsnIOA0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ugfNH4pb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ugfNH4pb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 080B8C4CEF1; Tue, 16 Dec 2025 11:19:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765883952; bh=Sdr39YP4efgF6Hp056dleLYk4j8kF666Dakq1bgxlAo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ugfNH4pb5wKN06Pr8Q6dXEpR51TfWzVH6Oma7MOGJXDKIPALeDrc8HYgAQpdsZg6i GICtKBdeifwVS1zhvW9oVANj8VXOz4KJ8sLIcVjGKcSMBzrOhhO3wFk7rOZiDILOxf N9+LeSQeVNh3Jc/tzybPbIC97JiJd+I5mihh2Qc8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Johan Hovold , Thomas Gleixner , Florian Fainelli , Sasha Levin Subject: [PATCH 6.12 030/354] irqchip/irq-bcm7038-l1: Fix section mismatch Date: Tue, 16 Dec 2025 12:09:57 +0100 Message-ID: <20251216111322.002747079@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216111320.896758933@linuxfoundation.org> References: <20251216111320.896758933@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Johan Hovold [ Upstream commit e9db5332caaf4789ae3bafe72f61ad8e6e0c2d81 ] Platform drivers can be probed after their init sections have been discarded so the irqchip init callback must not live in init. Fixes: c057c799e379 ("irqchip/irq-bcm7038-l1: Switch to IRQCHIP_PLATFORM_DRIVER") Signed-off-by: Johan Hovold Signed-off-by: Thomas Gleixner Reviewed-by: Florian Fainelli Signed-off-by: Sasha Levin --- drivers/irqchip/irq-bcm7038-l1.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c index 36e71af054e97..bca43fa99c8f2 100644 --- a/drivers/irqchip/irq-bcm7038-l1.c +++ b/drivers/irqchip/irq-bcm7038-l1.c @@ -219,9 +219,8 @@ static int bcm7038_l1_set_affinity(struct irq_data *d, } #endif -static int __init bcm7038_l1_init_one(struct device_node *dn, - unsigned int idx, - struct bcm7038_l1_chip *intc) +static int bcm7038_l1_init_one(struct device_node *dn, unsigned int idx, + struct bcm7038_l1_chip *intc) { struct resource res; resource_size_t sz; @@ -395,8 +394,7 @@ static const struct irq_domain_ops bcm7038_l1_domain_ops = { .map = bcm7038_l1_map, }; -static int __init bcm7038_l1_of_init(struct device_node *dn, - struct device_node *parent) +static int bcm7038_l1_of_init(struct device_node *dn, struct device_node *parent) { struct bcm7038_l1_chip *intc; int idx, ret; -- 2.51.0