atari_NCR5380: Fix "transfered" typo
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 12 Nov 2014 05:12:23 +0000 (16:12 +1100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:21 +0000 (09:11 +0100)
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/atari_NCR5380.c

index bdaaa86a77b9dc392981d29e08a5bfb58503061e..6daed6b386d4c8b47cb3094754d59b162039802c 100644 (file)
@@ -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;