summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authorSreekanth Reddy2014-09-12 12:05:33 +0200
committerChristoph Hellwig2014-09-16 18:14:21 +0200
commitb65f1d4da7df44835bd0a2452332e253a5c66d9b (patch)
tree717540635f65dfb07055b5df1e7e2df087252db0 /drivers/scsi/megaraid
parentmpt3sas: Bump mpt3sas driver version to 04.100.00.00 (diff)
downloadkernel-qcow2-linux-b65f1d4da7df44835bd0a2452332e253a5c66d9b.tar.gz
kernel-qcow2-linux-b65f1d4da7df44835bd0a2452332e253a5c66d9b.tar.xz
kernel-qcow2-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 'drivers/scsi/megaraid')
0 files changed, 0 insertions, 0 deletions