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.

x86/io_apic: 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.

[ tglx: Fix up subject prefix ]

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250319092951.37667-11-jirislaby@kernel.org


authored by

Jiri Slaby (SUSE) and committed by
Thomas Gleixner
b7129180 f0983189

+1 -1
+1 -1
arch/x86/kernel/apic/io_apic.c
··· 2225 2225 2226 2226 /* Handle device tree enumerated APICs proper */ 2227 2227 if (cfg->dev) { 2228 - fn = of_node_to_fwnode(cfg->dev); 2228 + fn = of_fwnode_handle(cfg->dev); 2229 2229 } else { 2230 2230 fn = irq_domain_alloc_named_id_fwnode("IO-APIC", mpc_ioapic_id(ioapic)); 2231 2231 if (!fn)