Skip to contentSkip to conversation

ERROR: modpost: "init_mknod" [drivers/misc/misc_minor_kunit.ko] undefined!

PATCH Greg Kroah-Hartman 2 participants 2 messages Apr 17, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
head:   9f240f7b8e40bdf35e45fce5c6a5e956db3938ce
commit: 9f240f7b8e40bdf35e45fce5c6a5e956db3938ce [9/9] char: misc: add test cases
config: riscv-randconfig-002-20250416
compiler: riscv32-linux-gcc (GCC) 8.5.0
Quoted 11 lines

reproduce (this is a W=1 build):

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>, old ones prefixed by <<):

Quoted 2 lines
Quoted 2 lines

ERROR: modpost: "init_mknod" [drivers/misc/misc_minor_kunit.ko] undefined!
ERROR: modpost: "init_unlink" [drivers/misc/misc_minor_kunit.ko] undefined!

Thadeu, I'm going to drop both of your patches from my tree now, can you fix them up and resend?

thanks,

greg k-h

#2 lore raw
Quoted 18 lines · Greg Kroah-Hartman
Quoted 5 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
head:   9f240f7b8e40bdf35e45fce5c6a5e956db3938ce
commit: 9f240f7b8e40bdf35e45fce5c6a5e956db3938ce [9/9] char: misc: add test cases
config: riscv-randconfig-002-20250416
compiler: riscv32-linux-gcc (GCC) 8.5.0
Quoted 11 lines

reproduce (this is a W=1 build):

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>, old ones prefixed by <<):

Quoted 2 lines
Quoted 2 lines

ERROR: modpost: "init_mknod" [drivers/misc/misc_minor_kunit.ko] undefined!
ERROR: modpost: "init_unlink" [drivers/misc/misc_minor_kunit.ko] undefined!

Quoted 6 lines

Thadeu, I'm going to drop both of your patches from my tree now, can you fix them up and resend?

thanks,

greg k-h

Sure. I will look into those reports and try some randconfigs.

Thanks.
Cascardo.