diff options
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r-- | drivers/scsi/scsi_debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 2f1f9b079b10..7b310934efed 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c | |||
@@ -1805,6 +1805,7 @@ static int resp_read(struct scsi_cmnd *SCpnt, unsigned long long lba, | |||
1805 | devip->sense_buff[5] = (ret >> 8) & 0xff; | 1805 | devip->sense_buff[5] = (ret >> 8) & 0xff; |
1806 | devip->sense_buff[6] = ret & 0xff; | 1806 | devip->sense_buff[6] = ret & 0xff; |
1807 | } | 1807 | } |
1808 | scsi_set_resid(SCpnt, scsi_bufflen(SCpnt)); | ||
1808 | return check_condition_result; | 1809 | return check_condition_result; |
1809 | } | 1810 | } |
1810 | 1811 | ||