Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

irqdomain: cdx: Switch to of_fwnode_handle()

of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
defined of_fwnode_handle(). The former is in the process of being
removed, so use the latter instead.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Nipun Gupta <nipun.gupta@amd.com>
Cc: Nikhil Agarwal <nikhil.agarwal@amd.com>
Acked-by: Nipun Gupta <nipun.gupta@amd.com>
Link: https://lore.kernel.org/r/20250415104734.106849-1-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiri Slaby (SUSE) and committed by
Greg Kroah-Hartman
2a87a55f fd1575e2

+2 -2
+2 -2
drivers/cdx/cdx_msi.c
··· 165 165 struct device_node *parent_node; 166 166 struct irq_domain *parent; 167 167 168 - fwnode_handle = of_node_to_fwnode(np); 168 + fwnode_handle = of_fwnode_handle(np); 169 169 170 170 parent_node = of_parse_phandle(np, "msi-map", 1); 171 171 if (!parent_node) { ··· 173 173 return NULL; 174 174 } 175 175 176 - parent = irq_find_matching_fwnode(of_node_to_fwnode(parent_node), DOMAIN_BUS_NEXUS); 176 + parent = irq_find_matching_fwnode(of_fwnode_handle(parent_node), DOMAIN_BUS_NEXUS); 177 177 if (!parent || !msi_get_domain_info(parent)) { 178 178 dev_err(dev, "unable to locate ITS domain\n"); 179 179 return NULL;