linux-next: build failure after merge of the iommu tree

From: Mark Brown

Date: Mon Jan 19 2026 - 13:42:58 EST


Hi all,

After merging the iommu tree, today's linux-next build (x86_64
allmodconfig) failed like this:

/tmp/next/build/drivers/iommu/amd/iommufd.c: In function 'amd_iommufd_viommu_destroy':
/tmp/next/build/drivers/iommu/amd/iommufd.c:62:27: error: unused variable 'iommu' [-Werror=unused-variable]
62 | struct amd_iommu *iommu = container_of(viommu->iommu_dev, struct amd_iommu, iommu);
| ^~~~~
cc1: all warnings being treated as errors

Caused by commit

757d2b1fdf5b7 (iommu/amd: Introduce gDomID-to-hDomID Mapping and handle parent domain invalidation)

I used the version from 20260116 instead.