summaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-12-03 15:19:13 +0100
committerJeff Garzik <jgarzik@redhat.com>2010-12-24 13:32:07 -0500
commit687a993339c4f3a63654746230da3aab8bbdbffd (patch)
treed6302c5afdef12c5d1f221920953480da4fece75 /net/sctp/outqueue.c
parent90a8a73c06cc32b609a880d48449d7083327e11a (diff)
downloadop-kernel-dev-687a993339c4f3a63654746230da3aab8bbdbffd.zip
op-kernel-dev-687a993339c4f3a63654746230da3aab8bbdbffd.tar.gz
libata-sff: fix HSM_ST_ERR handling in __ata_sff_port_intr()
While separating out BMDMA irq handler from SFF, commit c3b28894 (libata-sff: separate out BMDMA irq handler) incorrectly made __ata_sff_port_intr() consider an IRQ to be an idle one if the host state was transitioned to HSM_ST_ERR by ata_bmdma_port_intr(). This makes BMDMA drivers ignore IRQs reporting host bus error which leads to timeouts instead of triggering EH immediately. Fix it by making __ata_sff_port_intr() consider the IRQ to be an idle one iff the state is HSM_ST_IDLE. This is equivalent to adding HSM_ST_ERR to the "break"ing case but less error-prone. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Antonio Toma <antonio.toma@gmail.com> Cc: stable@kernel.org Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'net/sctp/outqueue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud