From: Matthew Wilcox Date: Wed, 15 Aug 2007 18:56:54 +0000 (-0600) Subject: [SCSI] simscsi: Free scsi host on error X-Git-Tag: v2.6.24-rc1~1290^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a60ebc52cbfafc291c6b0b89e41ecaf3685c8e2a;p=pandora-kernel.git [SCSI] simscsi: Free scsi host on error If scsi_add_host returned an error, the host would never be freed. We need to call scsi_host_put() if an error happens. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed