[SCSI] lpfc 8.3.32: Correct null pointer Error in lpfc_sli.c
authorJames Smart <james.smart@emulex.com>
Tue, 12 Jun 2012 17:54:11 +0000 (13:54 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:26 +0000 (08:58 +0100)
commita629852ab810015223eec7a2f31a6bd5f93c83cf
tree8e180ce4b562ad0191aefc51c958bff2f1813baa
parent4f4c18634d2a05079194ba333c7882349f25d6f7
[SCSI] lpfc 8.3.32: Correct null pointer Error in lpfc_sli.c

This patch corrects the issue caught via Smatch and reported by Dan Carpenter:
http://marc.info/?l=linux-scsi&m=133693516103343

Resolve null pointer check ordering that were odd

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_sli.c