From nobody Thu Dec 18 13:45:52 2025 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 A95A43DAC01 for ; Wed, 15 Jan 2025 08:54:26 +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=1736931268; cv=none; b=pL12rEG7PZhwd6/dgnNGdORc7vltbdgttnERj3pI3Dtck9aJ5KhQJNzArhvqtkw6zaXWJzxNeiNWbKwU+FkGEt1Z1CYV2EF0c9L5jWUp+ajW0535O4q6B8wcp5/4gbffE+FsfGP/9A86EhS4Fl+2pN7CLNGlZGagexKJCIEHZpM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736931268; c=relaxed/simple; bh=e4r7evfO/O7D/n30iriolM6CKcfxjpvus9p2k5MZOr0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rBP8TrCmxxupHiWwWYwEM62mQU4UWCBMuSIcczpPaZYXgtxaaDfeztjmGXbrH0V4LnK99nTRiIplfu5ZCXgNs9XcZyGri40tKco548j44c6bonVxJRcPW0+pQLQvE6Ir1phCVrHB5sCTKXd8BrgACE6vcb0zF9fCQhAgBEsm6qc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Xw7E49NL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Xw7E49NL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C118C4CEE2; Wed, 15 Jan 2025 08:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736931266; bh=e4r7evfO/O7D/n30iriolM6CKcfxjpvus9p2k5MZOr0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xw7E49NLRP18rUiF8SjyCdEUjPwsPRipwf5mRb3Gy+D/kzhv6scXXCnSZCbLB242+ e3CVNR9OgRRCWmeE7McUPwsmna/nnLH2U2p59IUNF2q/E9WE/wIyusyiSLRdYXPdE/ s+1MH52V3wLa7X/PVZyBlEAdwFIWrIz8BXk11bP8TxIMdauRFYvn2aQTNGGdkKA5MZ AmwmyuSuCQ6SGG0lMtfgh98AWzEX7fnIIWqLEb1kTTWLxehnye61tX/1JXtwIB2su9 66uWLWkFvV+Nk4mC8YKBIlE+Wf79kHFlZyKIP6MTWBaAclSPPqTzK4JW4pHNgYpN41 OleVuOfVgGjeQ== From: "Jiri Slaby (SUSE)" To: tglx@linutronix.de Cc: maz@kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" Subject: [PATCH 08/18] irqdomain: Make struct irq_domain_info variables const Date: Wed, 15 Jan 2025 09:53:57 +0100 Message-ID: <20250115085409.1629787-9-jirislaby@kernel.org> X-Mailer: git-send-email 2.48.0 In-Reply-To: <20250115085409.1629787-1-jirislaby@kernel.org> References: <20250115085409.1629787-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is just expressing it explicitly as irq_domain_instantiate() takes const already. No functional change. Signed-off-by: Jiri Slaby (SUSE) --- include/linux/irqdomain.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 7903dbbbdef1..a7f41a6163c5 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -438,7 +438,7 @@ static inline struct irq_domain *irq_domain_add_linear(= struct device_node *of_no const struct irq_domain_ops *ops, void *host_data) { - struct irq_domain_info info =3D { + const struct irq_domain_info info =3D { .fwnode =3D of_fwnode_handle(of_node), .size =3D size, .hwirq_max =3D size, @@ -456,7 +456,7 @@ static inline struct irq_domain *irq_domain_add_nomap(s= truct device_node *of_nod const struct irq_domain_ops *ops, void *host_data) { - struct irq_domain_info info =3D { + const struct irq_domain_info info =3D { .fwnode =3D of_fwnode_handle(of_node), .hwirq_max =3D max_irq, .direct_max =3D max_irq, @@ -475,7 +475,7 @@ static inline struct irq_domain *irq_domain_add_tree(st= ruct device_node *of_node const struct irq_domain_ops *ops, void *host_data) { - struct irq_domain_info info =3D { + const struct irq_domain_info info =3D { .fwnode =3D of_fwnode_handle(of_node), .hwirq_max =3D ~0U, .ops =3D ops, @@ -491,7 +491,7 @@ static inline struct irq_domain *irq_domain_create_line= ar(struct fwnode_handle * const struct irq_domain_ops *ops, void *host_data) { - struct irq_domain_info info =3D { + const struct irq_domain_info info =3D { .fwnode =3D fwnode, .size =3D size, .hwirq_max =3D size, @@ -507,7 +507,7 @@ static inline struct irq_domain *irq_domain_create_tree= (struct fwnode_handle *fw const struct irq_domain_ops *ops, void *host_data) { - struct irq_domain_info info =3D { + const struct irq_domain_info info =3D { .fwnode =3D fwnode, .hwirq_max =3D ~0, .ops =3D ops, @@ -629,7 +629,7 @@ static inline struct irq_domain *irq_domain_create_hier= archy(struct irq_domain * const struct irq_domain_ops *ops, void *host_data) { - struct irq_domain_info info =3D { + const struct irq_domain_info info =3D { .fwnode =3D fwnode, .size =3D size, .hwirq_max =3D size ? : ~0U, --=20 2.48.0