summaryrefslogtreecommitdiff
path: root/drivers/scsi/NCR53c406a.c
diff options
context:
space:
mode:
authorSreekanth Reddy <sreekanth.reddy@avagotech.com>2014-09-12 14:05:33 +0400
committerChristoph Hellwig <hch@lst.de>2014-09-16 20:14:21 +0400
commitb65f1d4da7df44835bd0a2452332e253a5c66d9b (patch)
tree717540635f65dfb07055b5df1e7e2df087252db0 /drivers/scsi/NCR53c406a.c
parent70d8c86ebeaca552801500d20d5f2c6cc235cabd (diff)
downloadlinux-b65f1d4da7df44835bd0a2452332e253a5c66d9b.tar.xz
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/NCR53c406a.c')
0 files changed, 0 insertions, 0 deletions