Re: dmar compile failure in -git

From: Jens Axboe
Date: Tue Oct 20 2020 - 12:26:10 EST


On Sat, Oct 17, 2020 at 1:03 AM David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
> On 16 October 2020 22:23:46 BST, Jens Axboe <axboe@xxxxxxxxx> wrote:
> >Hi,
> >
> >Ran into this one yesterday:
> >
> >drivers/iommu/intel/dmar.c: In function ‘free_iommu’:
> >drivers/iommu/intel/dmar.c:1139:41: error: ‘struct iommu_device’ has no
> >member named ‘ops’
> > 1139 | if (intel_iommu_enabled && iommu->iommu.ops) {
> > | ^
> >make[3]: *** [scripts/Makefile.build:283: drivers/iommu/intel/dmar.o]
> >Error 1
> >make[3]: *** Waiting for unfinished jobs....
> >make[2]: *** [scripts/Makefile.build:500: drivers/iommu/intel] Error 2
> >make[1]: *** [scripts/Makefile.build:500: drivers/iommu] Error 2
> >make: *** [Makefile:1777: drivers] Error 2
> >
> >which is due to the config I use:
>
> Thanks. Should be fixed by
> https://www.mail-archive.com/iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx/msg45697.html

Can we please get this known build breakage fix upstream? It keeps
breaking my test box compiles, which is pretty annoying.

--
Jens Axboe