io_apic.c --> "nr_ioapics" not initialized !

From: Armin Steinhoff
Date: Wed Feb 20 2013 - 11:20:27 EST



Hello,

after a walk through the module "io_apic.c" in "/usr/src/linux/arch/x86/kernel/apic" I got the impression that the variable "nr_ioapics" is used but isn't initialized !
Could it be the source of boot problems ?

Dangerous coding stile in "static struct resource * __init ioapic_setup_resources(int nr_ioapics)" ....
########

Cheers

--Armin


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/