diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 06:12:23 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 09:11:21 +0100 |
commit | 01bd90819e670a60c680dd7e1c1d8bb1aad60322 (patch) | |
tree | 711cab15fe923e7836de43e86fc818c2b20be61d /drivers/scsi | |
parent | atari_NCR5380: Remove RESET_RUN_DONE macro (diff) | |
download | linux-01bd90819e670a60c680dd7e1c1d8bb1aad60322.tar.xz linux-01bd90819e670a60c680dd7e1c1d8bb1aad60322.zip |
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')
-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) static void NCR5380_dma_complete(struct Scsi_Host *instance) { SETUP_HOSTDATA(instance); - int transfered; + int transferred; unsigned char **data; volatile int *count; int saved_data = 0, overrun = 0; @@ -1157,13 +1157,13 @@ static void NCR5380_dma_complete(struct Scsi_Host *instance) NCR5380_write(MODE_REG, MR_BASE); NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); - transfered = hostdata->dma_len - NCR5380_dma_residual(instance); + transferred = hostdata->dma_len - NCR5380_dma_residual(instance); hostdata->dma_len = 0; data = (unsigned char **)&hostdata->connected->SCp.ptr; count = &hostdata->connected->SCp.this_residual; - *data += transfered; - *count -= transfered; + *data += transferred; + *count -= transferred; if (hostdata->read_overruns) { int cnt, toPIO; |