public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the mtd tree
@ 2026-01-30 15:47 Mark Brown
  2026-02-02  8:47 ` Miquel Raynal
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Brown @ 2026-01-30 15:47 UTC (permalink / raw)
  To: Richard Weinberger, Bernhard Frauendienst, Amit Kumar Mahapatra,
	Miquel Raynal
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the mtd tree, today's linux-next build (arm64 defconfig)
failed like this:

ld: Unexpected GOT/PLT entries detected!
ld: Unexpected run-time procedure linkages detected!
ld: drivers/mtd/mtdcore.o: in function `cleanup_mtd':
/tmp/next/build/drivers/mtd/mtdcore.c:2641:(.exit.text+0x18): undefined reference to `mtd_virt_concat_destroy_joins'
ld: /tmp/next/build/drivers/mtd/mtdcore.c:2642:(.exit.text+0x1c): undefined reference to `mtd_virt_concat_destroy_items'

Caused by commit

  285871f1ff3c2 (mtd: Add driver for concatenating devices)

I have used the version from next-20260129 instead.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the mtd tree
@ 2026-03-12 13:14 Mark Brown
  2026-03-12 14:22 ` Andy Shevchenko
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Brown @ 2026-03-12 13:14 UTC (permalink / raw)
  To: Richard Weinberger, Randy Dunlap, Andy Shevchenko, Miquel Raynal
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

/tmp/next/build/drivers/mtd/maps/physmap-core.c: In function 'physmap_flash_of_init':
/tmp/next/build/drivers/mtd/maps/physmap-core.c:367:23: error: implicit declaration of function 'of_flash_probe_bt1_rom'; did you mean 'of_flash_probe_ixp4xx'? [-Wimplicit-function-declaration]
  367 |                 err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]);
      |                       ^~~~~~~~~~~~~~~~~~~~~~
      |                       of_flash_probe_ixp4xx

Caused by commit

   16d68d10f5b93 (mtd: physmap: physmap-bt1-rom: Remove not-going-to-be-supported code for Baikal SoC)

I have used the version from 20260311 instead.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the mtd tree
@ 2025-09-02  2:08 Stephen Rothwell
  2025-09-02  5:25 ` Mahapatra, Amit Kumar
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2025-09-02  2:08 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: Amit Kumar Mahapatra, Miquel Raynal, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

ERROR: modpost: "mtd_virt_concat_node_create" [drivers/mtd/mtd.ko] undefined!
ERROR: modpost: "mtd_virt_concat_add" [drivers/mtd/mtd.ko] undefined!
ERROR: modpost: "mtd_virt_concat_create_join" [drivers/mtd/mtd.ko] undefined!
ERROR: modpost: "mtd_virt_concat_destroy" [drivers/mtd/mtd.ko] undefined!

Caused by commit

  fa47dc829519 ("mtd: Add driver for concatenating devices")

I have used the mtd tree from next-20250901 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the mtd tree
@ 2021-02-15  1:28 Stephen Rothwell
  2021-02-15  8:55 ` Rafał Miłecki
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2021-02-15  1:28 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: Rafał Miłecki, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

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

ERROR: modpost: missing MODULE_LICENSE() in drivers/mtd/parsers/bcm4908-partitions.o
ERROR: modpost: "bcm4908_partitions_post_parse" [drivers/mtd/parsers/ofpart.ko] undefined!

Caused by commit

  09cf6ee6d21c ("mtd: parsers: ofpart: support BCM4908 fixed partitions")

I have used the mtd tree from next-20210212 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the mtd tree
@ 2010-04-08  1:42 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2010-04-08  1:42 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-next, linux-kernel, Maxim Levitsky, Andrew Morton

Hi David,

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

drivers/mtd/sm_ftl.c: In function 'sm_cache_flush':
drivers/mtd/sm_ftl.c:937: error: implicit declaration of function 'for_each_bit'
drivers/mtd/sm_ftl.c:938: error: expected ';' before '{' token
drivers/mtd/sm_ftl.c:964: error: label 'restart' used but not defined

OK, not a suprise since Andrew submitted the "remove for_each_bit" patch
and you haven't applied the patch below to the mtd tree.  Commit
7d17c02a01a111f40986859f044c8c4cce8a4aa6 ("mtd: Add new SmartMedia/xD
FTL") introduces a new use of "for_each_bit".  I have applied the below
patch for today, please add it to the mtd tree ASAP.

Subject: [patch 1/1] bitops: rename for_each_bit() to for_each_set_bit(): mtd
To: dwmw2@infradead.org
Cc: akpm@linux-foundation.org, akinobu.mita@gmail.com, adobriyan@gmail.com,
        davem@davemloft.net, dedekind@infradead.org, rmk@arm.linux.org.uk,
        sfr@canb.auug.org.au
From: akpm@linux-foundation.org
Date: Mon, 05 Apr 2010 13:53:35 -0700

From: Akinobu Mita <akinobu.mita@gmail.com>

Rename for_each_bit() to for_each_set_bit in the kernel source tree.  To
permit for_each_clear_bit(), should that ever be added.

I'll be sending a patch to Linus this week which removes the temporary
for_each_bit() macro, so this patch will be needed to avoid build
breakage.

Suggested-by: Alexey Dobriyan <adobriyan@gmail.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Artem Bityutskiy <dedekind@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/mtd/sm_ftl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/mtd/sm_ftl.c~bitops-rename-for_each_bit-to-for_each_set_bit-mtd drivers/mtd/sm_ftl.c
--- a/drivers/mtd/sm_ftl.c~bitops-rename-for_each_bit-to-for_each_set_bit-mtd
+++ a/drivers/mtd/sm_ftl.c
@@ -934,7 +934,7 @@ int sm_cache_flush(struct sm_ftl *ftl)
 
 
 	/* Try to read all unread areas of the cache block*/
-	for_each_bit(sector_num, &ftl->cache_data_invalid_bitmap,
+	for_each_set_bit(sector_num, &ftl->cache_data_invalid_bitmap,
 		ftl->block_size / SM_SECTOR_SIZE) {
 
 		if (!sm_read_sector(ftl,
_

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

end of thread, other threads:[~2026-03-12 14:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30 15:47 linux-next: build failure after merge of the mtd tree Mark Brown
2026-02-02  8:47 ` Miquel Raynal
  -- strict thread matches above, loose matches on Subject: below --
2026-03-12 13:14 Mark Brown
2026-03-12 14:22 ` Andy Shevchenko
2025-09-02  2:08 Stephen Rothwell
2025-09-02  5:25 ` Mahapatra, Amit Kumar
2025-09-02  5:45   ` Stephen Rothwell
2021-02-15  1:28 Stephen Rothwell
2021-02-15  8:55 ` Rafał Miłecki
2010-04-08  1:42 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox