[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <c131ee04-d047-47c8-8fa8-5d52763bfd5f@app.fastmail.com>
Date: Fri, 05 Dec 2025 21:08:25 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Jason Gunthorpe" <jgg@...pe.ca>, "Arnd Bergmann" <arnd@...nel.org>
Cc: "Kevin Tian" <kevin.tian@...el.com>, "Joerg Roedel" <joro@...tes.org>,
"Will Deacon" <will@...nel.org>, "Nicolin Chen" <nicolinc@...dia.com>,
"Robin Murphy" <robin.murphy@....com>, "Baolu Lu" <baolu.lu@...ux.intel.com>,
"Alex Mastro" <amastro@...com>, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommufd: fix building without dmabuf
On Fri, Dec 5, 2025, at 20:50, Jason Gunthorpe wrote:
>
> I picked this up anyhow since it looked like adding #ifdef stubs to
> dma_buf.h was going to be a bigger thing
>
>> + if (IS_ENABLED(CONFIG_DMABUF_HEAPS))
>> + dmabuf = dma_buf_get(fd);
>
> But this needs to be:
>
> if (IS_ENABLED(CONFIG_DMA_SHARED_BUFFER))
> dmabuf = dma_buf_get(fd);
>
> I fixed it
Ok, thanks a lot!
Arnd
Powered by blists - more mailing lists