We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d8cb9 commit 8d9789dCopy full SHA for 8d9789d
drivers/iommu/dma-iommu.c
@@ -216,9 +216,11 @@ static int iova_reserve_pci_windows(struct pci_dev *dev,
216
lo = iova_pfn(iovad, start);
217
hi = iova_pfn(iovad, end);
218
reserve_iova(iovad, lo, hi);
219
- } else {
+ } else if (end < start) {
220
/* dma_ranges list should be sorted */
221
- dev_err(&dev->dev, "Failed to reserve IOVA\n");
+ dev_err(&dev->dev,
222
+ "Failed to reserve IOVA [%#010llx-%#010llx]\n",
223
+ start, end);
224
return -EINVAL;
225
}
226
0 commit comments