On Fri 2025-10-17 10:17:37, kernel test robot wrote:
> Hi Marcos,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on 3a8660878839faadb4f1a6dd72c3179c1df56787]
>
> url:
> https://github.com/intel-lab-lkp/linux/commits/Marcos-Paulo-de-Souza/printk-nbcon-Export-console_is_usable/20251016-225503
> base: 3a8660878839faadb4f1a6dd72c3179c1df56787
> patch link:
> https://lore.kernel.org/r/20251016-nbcon-kgdboc-v6-5-866aac60a80e%40suse.com
> patch subject: [PATCH v6 5/5] kdb: Adapt kdb_msg_write to work with NBCON
> consoles
> config: i386-buildonly-randconfig-006-20251017
> (https://download.01.org/0day-ci/archive/20251017/[email protected]/config)
> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project
> 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
> reproduce (this is a W=1 build):
> (https://download.01.org/0day-ci/archive/20251017/[email protected]/reproduce)
>
> 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 >>):
>
> >> kernel/debug/kdb/kdb_io.c:612:22: error: incompatible pointer types
> >> passing 'struct nbcon_write_context *' to parameter of type 'struct
> >> console *' [-Werror,-Wincompatible-pointer-types]
> 612 | nbcon_kdb_release(&wctxt);
> | ^~~~~~
> include/linux/console.h:667:54: note: passing argument to parameter 'con'
> here
> 667 | static inline void nbcon_kdb_release(struct console *con) { }
This should be:
static inline void nbcon_kdb_release(struct nbcon_write_context *wctxt) { }
Again, no need for v7. I could fix this when committing the patch.
Best Regards,
Petr
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport