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 6fc85bb commit 3a2ffd3Copy full SHA for 3a2ffd3
drivers/iommu/dma-iommu.c
@@ -1762,7 +1762,7 @@ static size_t cookie_msi_granule(const struct iommu_domain *domain)
1762
case IOMMU_COOKIE_DMA_MSI:
1763
return PAGE_SIZE;
1764
default:
1765
- unreachable();
+ BUG();
1766
};
1767
}
1768
@@ -1774,7 +1774,7 @@ static struct list_head *cookie_msi_pages(const struct iommu_domain *domain)
1774
1775
return &domain->msi_cookie->msi_page_list;
1776
1777
1778
1779
1780
0 commit comments