[SCSI] mpt2sas: move the scsi_host_put to the right place
authorTomas Henzl <thenzl@redhat.com>
Tue, 17 Apr 2012 13:24:48 +0000 (15:24 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 07:59:23 +0000 (08:59 +0100)
commitf555e05265657476da5839cdb478e8220eb9965d
tree2e93552bb59bc768fc80203ab57afdf597551f49
parent8fb2ef89b696624ea9853868e370d2e132e76f54
[SCSI] mpt2sas: move the scsi_host_put to the right place

When scsi_add_host fails the scsi_host_put should be called.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c