diff options
-rw-r--r-- | drivers/scsi/ide-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index d297f64cd432..bd74f6c44b6b 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -807,7 +807,7 @@ static int idescsi_queue (struct scsi_cmnd *cmd, | |||
807 | memcpy (pc->c, cmd->cmnd, cmd->cmd_len); | 807 | memcpy (pc->c, cmd->cmnd, cmd->cmd_len); |
808 | pc->buffer = NULL; | 808 | pc->buffer = NULL; |
809 | pc->sg = scsi_sglist(cmd); | 809 | pc->sg = scsi_sglist(cmd); |
810 | pc->last_sg = sg_last(pc->sg, cmd->use_sg); | 810 | pc->last_sg = sg_last(pc->sg, scsi_sg_count(cmd)); |
811 | pc->b_count = 0; | 811 | pc->b_count = 0; |
812 | pc->request_transfer = pc->buffer_size = scsi_bufflen(cmd); | 812 | pc->request_transfer = pc->buffer_size = scsi_bufflen(cmd); |
813 | pc->scsi_cmd = cmd; | 813 | pc->scsi_cmd = cmd; |