aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2012-11-28 06:49:47 +0000
committerVinod Koul <[email protected]>2013-01-07 22:05:06 -0800
commit7c1119bdd650fa58dad8157bc75c5fcf6ed97843 (patch)
treef0694e33203d6c7f8db1f0904702a66480c3779b /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent944ea4dd38b8575e30a5699633c81945bff1864d (diff)
dma: sh: Don't use ENODEV for failing slave lookup
If dmaengine driver's .device_alloc_chan_resources() method returns -ENODEV, dma_request_channel() will decide, that the driver has been removed and will remove the device from its list. To prevent this use ENXIO if a slave lookup fails. Reported-by: Kuninori Morimoto <[email protected]> Signed-off-by: Guennadi Liakhovetski <[email protected]> Cc: [email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions