|
@@ -343,9 +343,8 @@ static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
|
|
/* were we called with bad_dma_address? */
|
|
/* were we called with bad_dma_address? */
|
|
badend = bad_dma_address + (EMERGENCY_PAGES * PAGE_SIZE);
|
|
badend = bad_dma_address + (EMERGENCY_PAGES * PAGE_SIZE);
|
|
if (unlikely((dma_addr >= bad_dma_address) && (dma_addr < badend))) {
|
|
if (unlikely((dma_addr >= bad_dma_address) && (dma_addr < badend))) {
|
|
- printk(KERN_ERR "Calgary: driver tried unmapping bad DMA "
|
|
|
|
|
|
+ WARN(1, KERN_ERR "Calgary: driver tried unmapping bad DMA "
|
|
"address 0x%Lx\n", dma_addr);
|
|
"address 0x%Lx\n", dma_addr);
|
|
- WARN_ON(1);
|
|
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|