drivers/misc/hpilo: Correct panic when an AUX iLO is detected
authorMark Rusk <Mark.Rusk@hp.com>
Wed, 14 Aug 2013 20:30:01 +0000 (15:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 21:46:22 +0000 (14:46 -0700)
commiteefbc594abbb1b7e6e7eeadb65ae7c7538474210
treee07c2bdba167e8deb2f2a772b0b472a979841ee1
parentb65c4014efbcfa37df91c00dfaea4b3f17ac4eb7
drivers/misc/hpilo: Correct panic when an AUX iLO is detected

 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: Mark Rusk <mark.rusk@hp.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/hpilo.c