[SCSI] qla4xxx: fix compile warning due to invalid extHwConfig
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 10 Feb 2010 22:51:48 +0000 (16:51 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 19:40:19 +0000 (13:40 -0600)
commitb3925514f6f6878e3f671fb6990874e731a26d02
tree01a0d638a0155f1db2b168b5fa288341bc043cdd
parentb64e77f70b8c11766e967e3485331a9e6ef01390
[SCSI] qla4xxx: fix compile warning due to invalid extHwConfig

If the nvram is invalid qla4xxx tries to set Asuint32_t
based on the card type. If the card type is not listed
then Asuint32_t is going to be gargabe. This just fixes
that if/elseif by adding a else to catch the case for
new hardware that might not be listed yet.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla4xxx/ql4_init.c