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