diff options
author | 2017-07-03 03:59:05 -0400 | |
---|---|---|
committer | 2017-08-07 14:04:00 -0400 | |
commit | 12b859b70661c5b7d0c37c33f03736b768552e35 (patch) | |
tree | fc55c1ed0a7e05680862a43ae1d07745a0019d46 /drivers/scsi/pmcraid.h | |
parent | scsi: aacraid: complete all commands during bus reset (diff) | |
download | wireguard-linux-12b859b70661c5b7d0c37c33f03736b768552e35.tar.xz wireguard-linux-12b859b70661c5b7d0c37c33f03736b768552e35.zip |
scsi: g_NCR5380: Fix PDMA transfer size
generic_NCR5380_dma_xfer_len() incorrectly uses cmd->transfersize which
causes rescan-scsi-bus and CD-ROM access to hang the system. Use
cmd->SCp.this_residual instead, like other NCR5380 drivers.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pmcraid.h')
0 files changed, 0 insertions, 0 deletions