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>
Sun, 8 Sep 2013 05:09:59 +0000 (22:09 -0700)
commit39d163b38728dd85291afb2ba84f760368d9e8eb
tree83d78b6dded4e94fae9379c4fd7b0ce100f94d06
parent2880e37d6f3ef1a9dd94939a42abf35f41158d74
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: Mark Rusk <mark.rusk@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/hpilo.c