linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the nand tree
@ 2020-03-11  2:16 Stephen Rothwell
  2020-03-11 10:10 ` Miquel Raynal
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2020-03-11  2:16 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

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

FATAL: modpost: drivers/mtd/nand/raw/ams-delta: sizeof(struct of_device_id)=200 is not a modulo of the size of section __mod_of__<identifier>_device_table=64.
Fix definition of struct of_device_id in mod_devicetable.h

Maybe caused by commit

  966d708517e3 ("mtd: rawnand: ams-delta: Add module device tables")

But I have no idea why.

I have used the nand tree from next-20200310 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2025-03-04  2:28 Stephen Rothwell
  2025-03-04 10:57 ` Miquel Raynal
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2025-03-04  2:28 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Cheng Ming Lin, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

In file included from drivers/mtd/nand/spi/macronix.c:11:
drivers/mtd/nand/spi/macronix.c:190:63: error: expected expression before ',' token
  190 |                      SPINAND_CONT_READ(macronix_set_cont_read),
      |                                                               ^
include/linux/mtd/spinand.h:541:17: note: in definition of macro 'SPINAND_INFO'
  541 |                 __VA_ARGS__                                             \
      |                 ^~~~~~~~~~~
drivers/mtd/nand/spi/macronix.c:203:63: error: expected expression before ',' token
  203 |                      SPINAND_CONT_READ(macronix_set_cont_read),
      |                                                               ^
include/linux/mtd/spinand.h:541:17: note: in definition of macro 'SPINAND_INFO'
  541 |                 __VA_ARGS__                                             \
      |                 ^~~~~~~~~~~
drivers/mtd/nand/spi/macronix.c:331:63: error: expected expression before ',' token
  331 |                      SPINAND_CONT_READ(macronix_set_cont_read),
      |                                                               ^
include/linux/mtd/spinand.h:541:17: note: in definition of macro 'SPINAND_INFO'
  541 |                 __VA_ARGS__                                             \
      |                 ^~~~~~~~~~~
drivers/mtd/nand/spi/macronix.c:381:63: error: expected expression before ',' token
  381 |                      SPINAND_CONT_READ(macronix_set_cont_read),
      |                                                               ^
include/linux/mtd/spinand.h:541:17: note: in definition of macro 'SPINAND_INFO'
  541 |                 __VA_ARGS__                                             \
      |                 ^~~~~~~~~~~
drivers/mtd/nand/spi/macronix.c:427:63: error: expected expression before ',' token
  427 |                      SPINAND_CONT_READ(macronix_set_cont_read),
      |                                                               ^
include/linux/mtd/spinand.h:541:17: note: in definition of macro 'SPINAND_INFO'
  541 |                 __VA_ARGS__                                             \
      |                 ^~~~~~~~~~~

Caused by commit

  da3558d940c6 ("mtd: spi-nand: macronix: Add support for read retry")

The SPINAND_CONT_READ() macro already ends with a ','.

I have used the nand tree from next-20250303 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2025-01-16  2:20 Stephen Rothwell
  2025-01-17  2:23 ` Stephen Rothwell
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2025-01-16  2:20 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

In file included from drivers/mtd/nand/spi/skyhigh.c:11:
include/linux/stddef.h:8:14: error: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:61: note: in expansion of macro 'NULL'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                             ^~~~
include/linux/stddef.h:8:14: note: (near initialization for '(anonymous)[4].data.nbytes')
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:61: note: in expansion of macro 'NULL'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                             ^~~~
drivers/mtd/nand/spi/skyhigh.c:24:58: error: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                          ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:58: note: (near initialization for '(anonymous)[4].data.buf.in')
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                          ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stddef.h:8:14: error: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:62: note: in expansion of macro 'NULL'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                              ^~~~
include/linux/stddef.h:8:14: note: (near initialization for '(anonymous)[5].data.nbytes')
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:62: note: in expansion of macro 'NULL'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                              ^~~~
drivers/mtd/nand/spi/skyhigh.c:25:59: error: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                           ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:59: note: (near initialization for '(anonymous)[5].data.buf.in')
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                           ^
include/linux/mtd/spinand.h:342:48: note: in definition of macro 'SPINAND_OP_VARIANTS'
  342 |                 .ops = (struct spi_mem_op[]) { __VA_ARGS__ },           \
      |                                                ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stddef.h:8:14: error: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:61: note: in expansion of macro 'NULL'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                             ^~~~
include/linux/stddef.h:8:14: note: (near initialization for '(anonymous)[4].data.nbytes')
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:61: note: in expansion of macro 'NULL'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                             ^~~~
drivers/mtd/nand/spi/skyhigh.c:24:58: error: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                          ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:58: note: (near initialization for '(anonymous)[4].data.buf.in')
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                                                          ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:24:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   24 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stddef.h:8:14: error: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:62: note: in expansion of macro 'NULL'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                              ^~~~
include/linux/stddef.h:8:14: note: (near initialization for '(anonymous)[5].data.nbytes')
    8 | #define NULL ((void *)0)
      |              ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:62: note: in expansion of macro 'NULL'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                              ^~~~
drivers/mtd/nand/spi/skyhigh.c:25:59: error: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                           ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:59: note: (near initialization for '(anonymous)[5].data.buf.in')
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                                                           ^
include/linux/mtd/spinand.h:343:55: note: in definition of macro 'SPINAND_OP_VARIANTS'
  343 |                 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) /  \
      |                                                       ^~~~~~~~~~~
include/linux/mtd/spinand.h:66:9: note: in expansion of macro 'SPI_MEM_OP'
   66 |         SPI_MEM_OP(SPI_MEM_OP_CMD(0x03, 1),                             \
      |         ^~~~~~~~~~
include/linux/mtd/spinand.h:69:20: note: in expansion of macro 'SPI_MEM_OP_DATA_IN'
   69 |                    SPI_MEM_OP_DATA_IN(len, buf, 1),                     \
      |                    ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/spi/skyhigh.c:25:17: note: in expansion of macro 'SPINAND_PAGE_READ_FROM_CACHE_OP'
   25 |                 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  042087247835 ("mtd: spinand: Create distinct fast and slow read from cache variants")

I have used the nand tree from next-20250115 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2025-01-06  1:48 Stephen Rothwell
  2025-01-06  1:51 ` Stephen Rothwell
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2025-01-06  1:48 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Md Sadre Alam, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the nand tree, today's linux-next build
(x86_64_allmodconfig) failed like this:

In file included from include/linux/string.h:389,
                 from include/linux/bitmap.h:13,
                 from include/linux/cpumask.h:12,
                 from include/linux/smp.h:13,
                 from include/linux/lockdep.h:14,
                 from include/linux/mutex.h:17,
                 from include/linux/notifier.h:14,
                 from include/linux/clk.h:14,
                 from drivers/mtd/nand/qpic_common.c:6:
In function 'fortify_memset_chk',
    inlined from 'qcom_clear_bam_transaction' at drivers/mtd/nand/qpic_common.c:88:2:
include/linux/fortify-string.h:480:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
  480 |                         __write_overflow_field(p_size_field, size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  fdf3ee5c6e52 ("mtd: nand: Add qpic_common API file")

I have used the nand tree from next-20241220 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2023-08-21  2:02 Stephen Rothwell
  2023-08-21  5:44 ` Md Sadre Alam
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2023-08-21  2:02 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Md Sadre Alam, Sricharan Ramabadhran, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

drivers/mtd/nand/raw/qcom_nandc.c: In function 'qcom_parse_instructions':
drivers/mtd/nand/raw/qcom_nandc.c:2596:38: error: unused variable 'nandc' [-Werror=unused-variable]
 2596 |         struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip);
      |                                      ^~~~~
cc1: all warnings being treated as errors

Caused by commit

  5a7688a3e2e6 ("mtd: rawnand: qcom: Add read/read_start ops in exec_op path")

I have used the nand tree from next-20230818 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2022-09-21  1:32 Stephen Rothwell
  0 siblings, 0 replies; 35+ messages in thread
From: Stephen Rothwell @ 2022-09-21  1:32 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Valentin Korenblit, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

drivers/mtd/nand/raw/cadence-nand-controller.c: In function 'cadence_nand_read_buf':
drivers/mtd/nand/raw/cadence-nand-controller.c:1893:25: error: implicit declaration of function 'ioread64_rep'; did you mean 'ioread32_rep'? [-Werror=implicit-function-declaration]
 1893 |                         ioread64_rep(cdns_ctrl->io.virt, buf, len_in_words);
      |                         ^~~~~~~~~~~~
      |                         ioread32_rep
drivers/mtd/nand/raw/cadence-nand-controller.c: In function 'cadence_nand_write_buf':
drivers/mtd/nand/raw/cadence-nand-controller.c:1962:25: error: implicit declaration of function 'iowrite64_rep'; did you mean 'iowrite32_rep'? [-Werror=implicit-function-declaration]
 1962 |                         iowrite64_rep(cdns_ctrl->io.virt, buf, len_in_words);
      |                         ^~~~~~~~~~~~~
      |                         iowrite32_rep

Caused by commit

  7e7dc04774b1 ("mtd: rawnand: cadence: support 64-bit slave dma interface")

I have used the nand tree from next-20220920 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2020-12-08  2:14 Stephen Rothwell
  0 siblings, 0 replies; 35+ messages in thread
From: Stephen Rothwell @ 2020-12-08  2:14 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Ramuthevar Vadivel Murugan, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

drivers/mtd/nand/raw/intel-nand-controller.c:17:10: fatal error: linux/mtd/nand_ecc.h: No such file or directory
   17 | #include <linux/mtd/nand_ecc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  613b6e4e3baa ("mtd: rawnand: Add NAND controller support on Intel LGM SoC")

I have used the nand tree from next-20201207 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2020-09-14  1:45 Stephen Rothwell
  2020-09-14  9:50 ` Alex Dewar
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2020-09-14  1:45 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Alex Dewar, Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

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

drivers/mtd/nand/onenand/onenand_omap2.c:27:10: fatal error: asm/mach/flash.h: No such file or directory
   27 | #include <asm/mach/flash.h>
      |          ^~~~~~~~~~~~~~~~~~

Caused by commit

  26e1a8efc63d ("mtd: onenand: omap2: Allow for compile-testing on !ARM")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2020-09-08  3:35 Stephen Rothwell
  2020-09-10  4:12 ` Stephen Rothwell
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2020-09-08  3:35 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the nand tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c: In function 'common_nfc_set_geometry':
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:513:33: error: 'chip' undeclared (first use in this function)
  513 |   nanddev_get_ecc_requirements(&chip->base);
      |                                 ^~~~
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:513:33: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

  aa5faaa5f95c ("mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant")

I have used the nand tree from next-20200903 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2020-05-25 10:45 Stephen Rothwell
  2020-05-25 11:54 ` Miquel Raynal
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2020-05-25 10:45 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the nand tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/mtd/nand/raw/pasemi_nand.c: In function 'pasemi_nand_probe':
drivers/mtd/nand/raw/pasemi_nand.c:157:1: warning: label 'out_cleanup' defined but not used [-Wunused-label]
  157 | out_cleanup:
      | ^~~~~~~~~~~
drivers/mtd/nand/raw/pasemi_nand.c:149:3: error: label 'out_cleanup_nand' used but not defined
  149 |   goto out_cleanup_nand;
      |   ^~~~

Caused by commit

  d6a2207d79e3 ("mtd: rawnand: pasemi: Fix the probe error path")

I have applied the following patch for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 25 May 2020 20:41:22 +1000
Subject: [PATCH] mtd: rawnand: pasemi: fix up label spelling

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/mtd/nand/raw/pasemi_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/pasemi_nand.c b/drivers/mtd/nand/raw/pasemi_nand.c
index 37570f0c3a36..d8eca8c3fdcd 100644
--- a/drivers/mtd/nand/raw/pasemi_nand.c
+++ b/drivers/mtd/nand/raw/pasemi_nand.c
@@ -154,7 +154,7 @@ static int pasemi_nand_probe(struct platform_device *ofdev)
 
 	return 0;
 
-out_cleanup:
+ out_cleanup_nand:
 	nand_cleanup(chip);
  out_lpc:
 	release_region(lpcctl, 4);
-- 
2.26.2

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply related	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2020-05-12  4:08 Stephen Rothwell
  2020-05-12  7:04 ` Miquel Raynal
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2020-05-12  4:08 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Christophe Kerello

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

Hi all,

After merging the nand tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/mtd/nand/raw/stm32_fmc2_nand.c: In function 'stm32_fmc2_nfc_write_data':
drivers/mtd/nand/raw/stm32_fmc2_nand.c:1294:34: error: 'fmc2' undeclared (first use in this function)
 1294 |   stm32_fmc2_nfc_set_buswidth_16(fmc2, true);
      |                                  ^~~~
drivers/mtd/nand/raw/stm32_fmc2_nand.c:1294:34: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

  6c1c863ca431 ("mtd: rawnand: stm32_fmc2: cleanup")

I have used the nand tree from next-20200511 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread
* linux-next: build failure after merge of the nand tree
@ 2019-04-01 23:14 Stephen Rothwell
  2019-04-01 23:31 ` Paul Cercueil
  0 siblings, 1 reply; 35+ messages in thread
From: Stephen Rothwell @ 2019-04-01 23:14 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Paul Cercueil

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

Hi all,

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

drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:26:5: error: redefinition of 'ingenic_ecc_calculate'
 int ingenic_ecc_calculate(struct ingenic_ecc *ecc,
     ^~~~~~~~~~~~~~~~~~~~~
In file included from drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:14:
drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:39:5: note: previous definition of 'ingenic_ecc_calculate' was here
 int ingenic_ecc_calculate(struct ingenic_ecc *ecc,
     ^~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:47:5: error: redefinition of 'ingenic_ecc_correct'
 int ingenic_ecc_correct(struct ingenic_ecc *ecc,
     ^~~~~~~~~~~~~~~~~~~
In file included from drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:14:
drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:46:5: note: previous definition of 'ingenic_ecc_correct' was here
 int ingenic_ecc_correct(struct ingenic_ecc *ecc,
     ^~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:93:21: error: redefinition of 'of_ingenic_ecc_get'
 struct ingenic_ecc *of_ingenic_ecc_get(struct device_node *of_node)
                     ^~~~~~~~~~~~~~~~~~
In file included from drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:14:
drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:57:21: note: previous definition of 'of_ingenic_ecc_get' was here
 struct ingenic_ecc *of_ingenic_ecc_get(struct device_node *np)
                     ^~~~~~~~~~~~~~~~~~
drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:119:6: error: redefinition of 'ingenic_ecc_release'
 void ingenic_ecc_release(struct ingenic_ecc *ecc)
      ^~~~~~~~~~~~~~~~~~~
In file included from drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:14:
drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:53:6: note: previous definition of 'ingenic_ecc_release' was here
 void ingenic_ecc_release(struct ingenic_ecc *ecc)
      ^~~~~~~~~~~~~~~~~~~

Caused by commit

  8278ad0d709a ("mtd: rawnand: ingenic: Separate top-level and SoC specific code")

I have used the nand tree from next-20190401 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2025-03-04 10:57 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-11  2:16 linux-next: build failure after merge of the nand tree Stephen Rothwell
2020-03-11 10:10 ` Miquel Raynal
2020-03-11 14:01   ` Boris Brezillon
2020-03-11 19:20   ` Janusz Krzysztofik
  -- strict thread matches above, loose matches on Subject: below --
2025-03-04  2:28 Stephen Rothwell
2025-03-04 10:57 ` Miquel Raynal
2025-01-16  2:20 Stephen Rothwell
2025-01-17  2:23 ` Stephen Rothwell
2025-01-17  8:25   ` Miquel Raynal
2025-01-06  1:48 Stephen Rothwell
2025-01-06  1:51 ` Stephen Rothwell
2025-01-06  6:16   ` Md Sadre Alam
2025-01-06 13:23   ` Md Sadre Alam
2025-01-07  1:46     ` Stephen Rothwell
2023-08-21  2:02 Stephen Rothwell
2023-08-21  5:44 ` Md Sadre Alam
2022-09-21  1:32 Stephen Rothwell
2020-12-08  2:14 Stephen Rothwell
2020-09-14  1:45 Stephen Rothwell
2020-09-14  9:50 ` Alex Dewar
2020-09-14 10:58   ` Miquel Raynal
2020-09-08  3:35 Stephen Rothwell
2020-09-10  4:12 ` Stephen Rothwell
2020-09-11 16:58   ` Miquel Raynal
2020-05-25 10:45 Stephen Rothwell
2020-05-25 11:54 ` Miquel Raynal
2020-05-12  4:08 Stephen Rothwell
2020-05-12  7:04 ` Miquel Raynal
2019-04-01 23:14 Stephen Rothwell
2019-04-01 23:31 ` Paul Cercueil
2019-04-02  7:27   ` Miquel Raynal
2019-04-02  9:21     ` Miquel Raynal
2019-04-02 11:56   ` Miquel Raynal
2019-04-02 12:00     ` Paul Cercueil
2019-04-02 12:16       ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).