]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit67aad48ebeba89ba11e9fefc792eeca8680db0f9
tree2e93552bb59bc768fc80203ab57afdf597551f49
parentfc053cbebe646130b6e561b651b4a96558e0d5db
[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