diff options
Diffstat (limited to 'drivers/scsi/qlogicpti.c')
-rw-r--r-- | drivers/scsi/qlogicpti.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 42807671512b..69d6ad862b60 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c | |||
@@ -918,6 +918,7 @@ static inline int load_cmd(struct scsi_cmnd *Cmnd, struct Command_Entry *cmd, | |||
918 | ds[i].d_count = sg_dma_len(s); | 918 | ds[i].d_count = sg_dma_len(s); |
919 | } | 919 | } |
920 | sg_count -= n; | 920 | sg_count -= n; |
921 | sg = s; | ||
921 | } | 922 | } |
922 | } else { | 923 | } else { |
923 | cmd->dataseg[0].d_base = 0; | 924 | cmd->dataseg[0].d_base = 0; |