From: "Arnd Bergmann" <arnd@arndb.de>
To: "Jason Gunthorpe" <jgg@ziepe.ca>, "Arnd Bergmann" <arnd@kernel.org>
Cc: "Kevin Tian" <kevin.tian@intel.com>,
"Joerg Roedel" <joro@8bytes.org>, "Will Deacon" <will@kernel.org>,
"Nicolin Chen" <nicolinc@nvidia.com>,
"Robin Murphy" <robin.murphy@arm.com>,
"Baolu Lu" <baolu.lu@linux.intel.com>,
"Alex Mastro" <amastro@fb.com>,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iommufd: fix building without dmabuf
Date: Fri, 05 Dec 2025 21:08:25 +0100 [thread overview]
Message-ID: <c131ee04-d047-47c8-8fa8-5d52763bfd5f@app.fastmail.com> (raw)
In-Reply-To: <20251205195009.GN812105@ziepe.ca>
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
prev parent reply other threads:[~2025-12-05 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-04 10:03 Arnd Bergmann
2025-12-04 13:12 ` Jason Gunthorpe
2025-12-05 19:50 ` Jason Gunthorpe
2025-12-05 20:08 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c131ee04-d047-47c8-8fa8-5d52763bfd5f@app.fastmail.com \
--to=arnd@arndb.de \
--cc=amastro@fb.com \
--cc=arnd@kernel.org \
--cc=baolu.lu@linux.intel.com \
--cc=iommu@lists.linux.dev \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolinc@nvidia.com \
--cc=robin.murphy@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®