diff options
author | Sreekanth Reddy <sreekanth.reddy@avagotech.com> | 2014-09-12 12:05:33 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 18:14:21 +0200 |
commit | b65f1d4da7df44835bd0a2452332e253a5c66d9b (patch) | |
tree | 717540635f65dfb07055b5df1e7e2df087252db0 /COPYING | |
parent | mpt3sas: Bump mpt3sas driver version to 04.100.00.00 (diff) | |
download | linux-b65f1d4da7df44835bd0a2452332e253a5c66d9b.tar.xz linux-b65f1d4da7df44835bd0a2452332e253a5c66d9b.zip |
mpt3sas, mpt2sas: fix scsi_add_host error handling problems in _scsih_probe
In _scsih_probe, propagate the return value from scsi_add_host.
In mpt3sas, avoid calling list_del twice if that returns an
error, which causes list_del corruption warnings if an error
is returned.
Tested with blk-mq and scsi-mq patches to properly cleanup
from and propagate blk_mq_init_rq_map errors.
Signed-off-by: Robert Elliott <elliott@hp.com>
Acked-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions