Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 15, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen!

Quoted 11 lines · Stephen Rothwell

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.

Thank you for the report!

It has been fixed by the
[PATCH] mtd: parsers: ofpart: fix building as module
https://patchwork.ozlabs.org/project/linux-mtd/patch/[email protected]/
https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=mtd/next&id=bc6dcf44da2bea215ae3edbdac5d350e96de3996