]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
BUG_ON on kernel misbehavior on A100U2W driver
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 15 Jul 2008 21:18:38 +0000 (17:18 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Jul 2008 21:30:56 +0000 (14:30 -0700)
commita5db33411ae762e597bfcde6bb9d0c8c2ea9c0eb
treefca5929eddc432092f0c444ffc672058effb78b0
parent56d387ec210049be2fdb0fe26ba6d6de1b3c1b15
BUG_ON on kernel misbehavior on A100U2W driver

With broken Sparc64 IOMMU accounting, the kernel submits larger requests
then allowed.  Better to crash on BUG than corrupt memory.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/a100u2w.c