linux-next: build failure after merge of the printk tree
Hi all,
After merging the printk tree, today's linux-next build (x86_64 allmodconfig) failed like this:
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/video/fbdev/xen-fbfront.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/tty/serial/8250/8250.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/tty/serial/samsung_tty.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/tty/serial/kgdboc.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/net/netconsole.ko] undefined!
Presumably caused by commits
c26c1533e3bd ("printk: introduce console_list_lock") a71ba89dc3ed ("console: introduce wrappers to read/write console flags") d3ca62bf29bb ("console: introduce console_is_registered()")
I have used the printk tree from next-20221118 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the printk tree, today's linux-next build (
x86_64allmodconfig) failed like this:ERROR: modpost: "
lockdep_assert_console_list_lock_held" [drivers/video/fbdev/xen-fbfront.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/tty/serial/8250/8250.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/tty/serial/samsung_tty.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/tty/serial/kgdboc.ko] undefined!
ERROR: modpost: "lockdep_assert_console_list_lock_held" [drivers/net/netconsole.ko] undefined!
Quoted 5 lines
Presumably caused by commits
c26c1533e3bd("printk: introduceconsole_list_lock")a71ba89dc3ed("console: introduce wrappers to read/write console flags")d3ca62bf29bb("console: introduceconsole_is_registered()")
John has fixed this by adding EXPORT_SYMBOL() for this function.
Quoted 1 line
I have used the printk tree from next-20221118 for today.
It is now fixed in "for-next" branch in printk/linux.git.
Thanks a lot for the report!
Best Regards,
Petr