Re: linux-next: build failure after merge of the iommu tree
From: Joerg Roedel
Date: Tue Jan 20 2026 - 04:17:18 EST
On Mon, Jan 19, 2026 at 06:42:54PM +0000, Mark Brown wrote:
> 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.
Thanks Mark, a fix has been merged.