Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: Fix falconide `data_adr' typo

commit 9567b349f7e7dd7e2483db99ee8e4a6fe0caca38
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Mon Apr 28 23:44:36 2008 +0200

ide: merge ->atapi_*put_bytes and ->ata_*put_data methods

introduced a typo (`data_adr' instead of `data_addr'), leading to a compile
failure.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Geert Uytterhoeven and committed by
Linus Torvalds
ab1a8521 5717922a

+1 -1
+1 -1
drivers/ide/legacy/falconide.c
··· 61 61 unsigned long data_addr = drive->hwif->io_ports.data_addr; 62 62 63 63 if (drive->media == ide_disk && rq && rq->cmd_type == REQ_TYPE_FS) 64 - return outsw(data_adr, buf, (len + 1) / 2); 64 + return outsw(data_addr, buf, (len + 1) / 2); 65 65 66 66 outsw_swapw(data_addr, buf, (len + 1) / 2); 67 67 }