]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] hosts.c: fixes for "no error" reported after error scenarios
authorJames Smart <James.Smart@Emulex.Com>
Fri, 21 Mar 2008 21:18:23 +0000 (17:18 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 27 Mar 2008 22:09:54 +0000 (15:09 -0700)
commit77cca462c69d827fabee0ef3fdab86109c2fe8d8
treea8ea0755835091f612bfe47436ac4cd8489797aa
parent0feed274d2dfa2162d2c37c254eede96926d3717
[SCSI] hosts.c: fixes for "no error" reported after error scenarios

This patch corrects some cases in scsi_add_host() that fail, but the "error"
return code was not reset after a prior use which set it to a non-error value.

Patch cut against scsi-rc-fixes-2.6

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/hosts.c