aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/pci-calgary_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c
index 5d400ba1349d..d47517941bbc 100644
--- a/arch/x86/kernel/pci-calgary_64.c
+++ b/arch/x86/kernel/pci-calgary_64.c
@@ -296,7 +296,7 @@ static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
296 296
297 /* were we called with bad_dma_address? */ 297 /* were we called with bad_dma_address? */
298 badend = DMA_ERROR_CODE + (EMERGENCY_PAGES * PAGE_SIZE); 298 badend = DMA_ERROR_CODE + (EMERGENCY_PAGES * PAGE_SIZE);
299 if (unlikely((dma_addr >= DMA_ERROR_CODE) && (dma_addr < badend))) { 299 if (unlikely(dma_addr < badend)) {
300 WARN(1, KERN_ERR "Calgary: driver tried unmapping bad DMA " 300 WARN(1, KERN_ERR "Calgary: driver tried unmapping bad DMA "
301 "address 0x%Lx\n", dma_addr); 301 "address 0x%Lx\n", dma_addr);
302 return; 302 return;