* linux-next: build failure after merge of the fpga tree
@ 2024-04-12 5:11 Stephen Rothwell
2024-04-12 15:27 ` Andy Shevchenko
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2024-04-12 5:11 UTC (permalink / raw)
To: Moritz Fischer, Xu Yilun, Wu Hao
Cc: Andy Shevchenko, Xu Yilun, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]
Hi all,
After merging the fpga tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/fpga/ice40-spi.c:201:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration]
201 | .of_match_table = of_match_ptr(ice40_fpga_of_match),
| ^~~~~~~~~~~~
drivers/fpga/ice40-spi.c:201:35: error: initialization of 'const struct of_device_id *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
drivers/fpga/ice40-spi.c:201:35: note: (near initialization for 'ice40_fpga_driver.driver.of_match_table')
drivers/fpga/ice40-spi.c:201:35: error: initializer element is not constant
drivers/fpga/ice40-spi.c:201:35: note: (near initialization for 'ice40_fpga_driver.driver.of_match_table')
cc1: all warnings being treated as errors
Caused by commit
5d04660b29fb ("fpga: ice40-spi: Remove unused of_gpio.h")
I have used the fpga tree from next-20240411 for today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build failure after merge of the fpga tree
2024-04-12 5:11 linux-next: build failure after merge of the fpga tree Stephen Rothwell
@ 2024-04-12 15:27 ` Andy Shevchenko
0 siblings, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2024-04-12 15:27 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Moritz Fischer, Xu Yilun, Wu Hao, Xu Yilun,
Linux Kernel Mailing List, Linux Next Mailing List
On Fri, Apr 12, 2024 at 03:11:47PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the fpga tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/fpga/ice40-spi.c:201:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration]
> 201 | .of_match_table = of_match_ptr(ice40_fpga_of_match),
> | ^~~~~~~~~~~~
> drivers/fpga/ice40-spi.c:201:35: error: initialization of 'const struct of_device_id *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
> drivers/fpga/ice40-spi.c:201:35: note: (near initialization for 'ice40_fpga_driver.driver.of_match_table')
> drivers/fpga/ice40-spi.c:201:35: error: initializer element is not constant
> drivers/fpga/ice40-spi.c:201:35: note: (near initialization for 'ice40_fpga_driver.driver.of_match_table')
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> 5d04660b29fb ("fpga: ice40-spi: Remove unused of_gpio.h")
>
> I have used the fpga tree from next-20240411 for today.
Okay, thanks for the report. I'll send a fix soon.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
* linux-next: build failure after merge of the fpga tree
@ 2025-06-16 4:11 Stephen Rothwell
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2025-06-16 4:11 UTC (permalink / raw)
To: Moritz Fischer, Xu Yilun, Wu Hao
Cc: Marek Szyprowski, Xu Yilun, Linux Kernel Mailing List,
Linux Next Mailing List
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-16 4:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 5:11 linux-next: build failure after merge of the fpga tree Stephen Rothwell
2024-04-12 15:27 ` Andy Shevchenko
-- strict thread matches above, loose matches on Subject: below --
2025-06-16 4:11 Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox