summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-03-08 10:22:22 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-08 10:22:22 -0700
commitfd6ec5f3acfe7e94469d83374b83ff183953fa45 (patch)
tree6f7aa80a8e95c054424d9e8229da3df0dd694ecd /drivers/ide/ide-iops.c
parent83d5a325107cd0befa2b863e795675bc8ff881d7 (diff)
parentd42ad15b759d05a87f22b484af63987eff38ea88 (diff)
downloadlinux-stable-fd6ec5f3acfe7e94469d83374b83ff183953fa45.tar.gz
linux-stable-fd6ec5f3acfe7e94469d83374b83ff183953fa45.tar.bz2
linux-stable-fd6ec5f3acfe7e94469d83374b83ff183953fa45.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6: ata: add CFA specific identify data words remove stale comment from <linux/hdreg.h> AT91: initialize Compact Flash on AT91SAM9263 cpu ide: add at91_ide driver ide: allow to wrap interrupt handler ide-iops: fix odd-length ATAPI PIO transfers ide: NULL noise: drivers/ide/ide-*.c ide: expiry() returns int, negative expiry() return values won't be noticed
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 753b92ebe0ae..b1892bd95c6f 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -315,6 +315,8 @@ void ide_output_data(ide_drive_t *drive, struct request *rq, void *buf,
u8 io_32bit = drive->io_32bit;
u8 mmio = (hwif->host_flags & IDE_HFLAG_MMIO) ? 1 : 0;
+ len++;
+
if (io_32bit) {
unsigned long uninitialized_var(flags);