Commit 39d163b3 authored by Mark Rusk's avatar Mark Rusk Committed by Greg Kroah-Hartman

drivers/misc/hpilo: Correct panic when an AUX iLO is detected

commit eefbc594abbb1b7e6e7eeadb65ae7c7538474210 upstream.

 Using an uninitialized variable 'devnum' after 'goto out;' was causing
 panic.  Just go ahead and return, we need to ignore AUX iLO devs.

 Oops: 0002 [#1] SMP
 RIP  [<ffffffffa033e270>] ilo_probe+0xec/0xe7c [hpilo]
Signed-off-by: default avatarMark Rusk <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 2880e37d
......@@ -759,7 +759,7 @@ static int ilo_probe(struct pci_dev *pdev,
/* Ignore subsystem_device = 0x1979 (set by BIOS) */
if (pdev->subsystem_device == 0x1979)
goto out;
return 0;
if (max_ccb > MAX_CCB)
max_ccb = MAX_CCB;
......@@ -899,7 +899,7 @@ static void __exit ilo_exit(void)
MODULE_AUTHOR("David Altobelli <>");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment