diff options
author | Andi Kleen <ak@suse.de> | 2006-01-12 00:44:54 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 06:04:56 +0300 |
commit | fd78f11790c37e2165733699f50450500e63a7b3 (patch) | |
tree | b51d2d6d4b1f83c276d81a72d4522ec701aa4354 /kernel | |
parent | 3d831d925c6d66569a0c7f6f5f17c0927f7d3d25 (diff) | |
download | linux-fd78f11790c37e2165733699f50450500e63a7b3.tar.xz |
[PATCH] i386: make pci_map_single/pci_map_sg warn for zero length.
As suggested by Linus.
This catches driver bugs that could cause corruption on IOMMU architectures.
Also I converted the BUGs to out_of_line_bug()s to save a bit
of text space.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions