linux-next: build failure after merge of the fpga tree

From: Stephen Rothwell
Date: Mon Jun 16 2025 - 00:12:09 EST


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: pgp6zcsXiAU2K.pgp
Description: OpenPGP digital signature