[SCSI] lpfc 8.3.10: Fix Initialization issues
authorJames Smart <james.smart@emulex.com>
Fri, 26 Feb 2010 19:12:57 +0000 (14:12 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 3 Mar 2010 13:38:34 +0000 (19:08 +0530)
commit9f1177a3f8eee22427eb97e6e00b62ff0be2871f
treea004d94e7d406f791e420eec7c02c2d5bcf70587
parent43aebfa12e7631124472237dc945c27af54ca646
[SCSI] lpfc 8.3.10: Fix Initialization issues

- Add NULL checks to the pointers for the config_async mailbox
  and dump_wakeup_params mailbox.
- Add code to check return value of lpfc_read_sparams everywhere
  and handle failures appropriately.

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_vport.c