lpfc: Fix mbox reuse in PLOGI completion
authorJames Smart <james.smart@avagotech.com>
Wed, 16 Dec 2015 23:12:03 +0000 (18:12 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 22 Dec 2015 03:04:33 +0000 (22:04 -0500)
commit01c73bbcd7cc4f31f45a1b0caeacdba46acd9c9c
tree59c5d710f6460507f74d84051c019013fbcf957b
parenta085e87c814567c94e5d375e7362f9f25030aac1
lpfc: Fix mbox reuse in PLOGI completion

Fix mbox reuse in PLOGI completion. Moved allocations so that buffer
properly init'd.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nportdisc.c