Commit fd78f117 authored by Committed by Linus TorvaldsBrowse files
[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 <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>