Re: [PATCH] iommufd: fix building without dmabuf
From: Arnd Bergmann
Date: Fri Dec 05 2025 - 15:08:47 EST
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