]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libata-sff: remove harmful BUG_ON from ata_bmdma_qc_issue
authorMark Lord <kernel@teksavvy.com>
Fri, 20 Aug 2010 14:13:16 +0000 (10:13 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:07 +0000 (13:36 -0700)
commit53c51d4aeb274e26155cfff8e09f0aad32f667a0
tree69b84c4e236ffdaeca59717a62083f12036263fd
parentd518262124b8577550865a6a82ea25be4ef40ac1
libata-sff: remove harmful BUG_ON from ata_bmdma_qc_issue

commit 55ee67f837882f28a900705a2ca1af257ab6c53d upstream.

Remove harmful BUG_ON() from ata_bmdma_qc_issue(),
as it casts too wide of a net and breaks sata_mv.
It also crashes the kernel while doing the BUG_ON().

There's already a WARN_ON_ONCE() further down to catch
the case of POLLING for a BMDMA operation.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/libata-sff.c