]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
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)
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

No differences found