diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 00:12:23 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 03:11:21 -0500 |
commit | 01bd90819e670a60c680dd7e1c1d8bb1aad60322 (patch) | |
tree | 711cab15fe923e7836de43e86fc818c2b20be61d /drivers/scsi/atari_NCR5380.c | |
parent | ab93afaceb9623d5ad27b6022366b8f3d27d20e4 (diff) |
atari_NCR5380: Fix "transfered" typo
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/atari_NCR5380.c')
-rw-r--r-- | drivers/scsi/atari_NCR5380.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c index bdaaa86a77b9..6daed6b386d4 100644 --- a/drivers/scsi/atari_NCR5380.c +++ b/drivers/scsi/atari_NCR5380.c | |||
@@ -1105,7 +1105,7 @@ static void NCR5380_main(struct work_struct *work) | |||
1105 | static void NCR5380_dma_complete(struct Scsi_Host *instance) | 1105 | static void NCR5380_dma_complete(struct Scsi_Host *instance) |
1106 | { | 1106 | { |
1107 | SETUP_HOSTDATA(instance); | 1107 | SETUP_HOSTDATA(instance); |
1108 | int transfered; | 1108 | int transferred; |
1109 | unsigned char **data; | 1109 | unsigned char **data; |
1110 | volatile int *count; | 1110 | volatile int *count; |
1111 | int saved_data = 0, overrun = 0; | 1111 | int saved_data = 0, overrun = 0; |
@@ -1157,13 +1157,13 @@ static void NCR5380_dma_complete(struct Scsi_Host *instance) | |||
1157 | NCR5380_write(MODE_REG, MR_BASE); | 1157 | NCR5380_write(MODE_REG, MR_BASE); |
1158 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); | 1158 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); |
1159 | 1159 | ||
1160 | transfered = hostdata->dma_len - NCR5380_dma_residual(instance); | 1160 | transferred = hostdata->dma_len - NCR5380_dma_residual(instance); |
1161 | hostdata->dma_len = 0; | 1161 | hostdata->dma_len = 0; |
1162 | 1162 | ||
1163 | data = (unsigned char **)&hostdata->connected->SCp.ptr; | 1163 | data = (unsigned char **)&hostdata->connected->SCp.ptr; |
1164 | count = &hostdata->connected->SCp.this_residual; | 1164 | count = &hostdata->connected->SCp.this_residual; |
1165 | *data += transfered; | 1165 | *data += transferred; |
1166 | *count -= transfered; | 1166 | *count -= transferred; |
1167 | 1167 | ||
1168 | if (hostdata->read_overruns) { | 1168 | if (hostdata->read_overruns) { |
1169 | int cnt, toPIO; | 1169 | int cnt, toPIO; |