diff options
Diffstat (limited to 'drivers/scsi/nsp32.c')
-rw-r--r-- | drivers/scsi/nsp32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index 6b8b021400f8..f6a50c98c36f 100644 --- a/drivers/scsi/nsp32.c +++ b/drivers/scsi/nsp32.c | |||
@@ -1288,7 +1288,7 @@ static irqreturn_t do_nsp32_isr(int irq, void *dev_id) | |||
1288 | nsp32_dbg(NSP32_DEBUG_INTR, "SSACK=0x%lx", | 1288 | nsp32_dbg(NSP32_DEBUG_INTR, "SSACK=0x%lx", |
1289 | nsp32_read4(base, SAVED_SACK_CNT)); | 1289 | nsp32_read4(base, SAVED_SACK_CNT)); |
1290 | 1290 | ||
1291 | scsi_set_resid(SCpnt, 0); /* all data transfered! */ | 1291 | scsi_set_resid(SCpnt, 0); /* all data transferred! */ |
1292 | } | 1292 | } |
1293 | 1293 | ||
1294 | /* | 1294 | /* |
@@ -1630,7 +1630,7 @@ static int nsp32_busfree_occur(struct scsi_cmnd *SCpnt, unsigned short execph) | |||
1630 | 1630 | ||
1631 | /* | 1631 | /* |
1632 | * If SAVEDSACKCNT == 0, it means SavedDataPointer is | 1632 | * If SAVEDSACKCNT == 0, it means SavedDataPointer is |
1633 | * come after data transfering. | 1633 | * come after data transferring. |
1634 | */ | 1634 | */ |
1635 | if (s_sacklen > 0) { | 1635 | if (s_sacklen > 0) { |
1636 | /* | 1636 | /* |
@@ -1785,7 +1785,7 @@ static void nsp32_adjust_busfree(struct scsi_cmnd *SCpnt, unsigned int s_sacklen | |||
1785 | the head element of the sg. restlen is correctly calculated. */ | 1785 | the head element of the sg. restlen is correctly calculated. */ |
1786 | } | 1786 | } |
1787 | 1787 | ||
1788 | /* calculate the rest length for transfering */ | 1788 | /* calculate the rest length for transferring */ |
1789 | restlen = sentlen - s_sacklen; | 1789 | restlen = sentlen - s_sacklen; |
1790 | 1790 | ||
1791 | /* update adjusting current SG table entry */ | 1791 | /* update adjusting current SG table entry */ |