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)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Aug 2010 23:24:16 +0000 (19:24 -0400)
commit55ee67f837882f28a900705a2ca1af257ab6c53d
tree91393e3155968c1654bfdf89fdbe404afd736554
parent44b733809a5aba7f6b15a548d31a56d25bf3851c
libata-sff: remove harmful BUG_ON from ata_bmdma_qc_issue

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>
Cc: stable@kernel.org
drivers/ata/libata-sff.c