The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Moritz Fischer <mdf@kernel.org>, Xu Yilun <yilun.xu@intel.com>,
	Wu Hao <hao.wu@intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>,
	Xu Yilun <yilun.xu@linux.intel.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build failure after merge of the fpga tree
Date: Mon, 16 Jun 2025 14:11:51 +1000	[thread overview]
Message-ID: <20250616141151.64eb59e0@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

Hi all,

After merging the fpga tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/fpga/zynq-fpga.c: In function 'zynq_fpga_ops_write':
drivers/fpga/zynq-fpga.c:409:13: error: too few arguments to function 'dma_map_sgtable'
  409 |             dma_map_sgtable(mgr->dev.parent, sgt, DMA_TO_DEVICE);
      |             ^~~~~~~~~~~~~~~
In file included from drivers/fpga/zynq-fpga.c:13:
include/linux/dma-mapping.h:126:5: note: declared here
  126 | int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
      |     ^~~~~~~~~~~~~~~
drivers/fpga/zynq-fpga.c:481:9: error: too few arguments to function 'dma_unmap_sgtable'
  481 |         dma_unmap_sgtable(mgr->dev.parent, sgt, DMA_TO_DEVICE);
      |         ^~~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:504:20: note: declared here
  504 | static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt,
      |                    ^~~~~~~~~~~~~~~~~

Caused by commit

  f9b5ee4364ed ("fpga: zynq-fpga: use sgtable-based scatterlist wrappers")

I have used the fpga tree from next-20250613 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

             reply	other threads:[~2025-06-16  4:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-16  4:11 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-12  5:11 linux-next: build failure after merge of the fpga tree Stephen Rothwell
2024-04-12 15:27 ` Andy Shevchenko

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=20250616141151.64eb59e0@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=hao.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=mdf@kernel.org \
    --cc=yilun.xu@intel.com \
    --cc=yilun.xu@linux.intel.com \
    /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