]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ata: fix wrong WARN_ON_ONCE
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 13 Jan 2009 09:38:36 +0000 (10:38 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 Jan 2009 15:34:59 +0000 (10:34 -0500)
commita0f79f7ad3e52b908786462cf5446ebe20fe14fa
treef2a62710f5ed0c42f56e3efa6667821ec216ce8e
parent37a76bd4f1b716949fc38a6842e89f0ccb8384d0
ata: fix wrong WARN_ON_ONCE

This patch fixes a wrong WARN_ON that was triggered by 32bit PIO support:
WARNING: at drivers/ata/libata-sff.c:1017 ata_sff_hsm_move+0x45e/0x750()

__atapi_pio_bytes simply doesnt know enough to decide if there is a bug.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-sff.c