From: kernel test robot <lkp@intel.com>
To: Marcos Paulo de Souza <mpdesouza@suse.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Petr Mladek <pmladek@suse.com>,
Steven Rostedt <rostedt@goodmis.org>,
John Ogness <john.ogness@linutronix.de>,
Sergey Senozhatsky <senozhatsky@chromium.org>,
Jason Wessel <jason.wessel@windriver.com>,
Daniel Thompson <danielt@kernel.org>,
Douglas Anderson <dianders@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
kgdb-bugreport@lists.sourceforge.net,
Marcos Paulo de Souza <mpdesouza@suse.com>
Subject: Re: [PATCH 1/2] printk: nbcon: Export console_is_usage and other nbcon symbols
Date: Sun, 13 Jul 2025 15:04:33 +0800 [thread overview]
Message-ID: <202507131412.Lfp8uefP-lkp@intel.com> (raw)
In-Reply-To: <20250713-nbcon-kgdboc-v1-1-51eccd9247a8@suse.com>
Hi Marcos,
kernel test robot noticed the following build errors:
[auto build test ERROR on d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af]
url: https://github.com/intel-lab-lkp/linux/commits/Marcos-Paulo-de-Souza/printk-nbcon-Export-console_is_usage-and-other-nbcon-symbols/20250713-131106
base: d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af
patch link: https://lore.kernel.org/r/20250713-nbcon-kgdboc-v1-1-51eccd9247a8%40suse.com
patch subject: [PATCH 1/2] printk: nbcon: Export console_is_usage and other nbcon symbols
config: i386-buildonly-randconfig-004-20250713 (https://download.01.org/0day-ci/archive/20250713/202507131412.Lfp8uefP-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250713/202507131412.Lfp8uefP-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507131412.Lfp8uefP-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from kernel/panic.c:32:
include/linux/console.h: In function 'nbcon_context_try_acquire':
>> include/linux/console.h:653:53: warning: no return statement in function returning non-void [-Wreturn-type]
653 | static inline bool nbcon_context_try_acquire(struct nbcon_context *ctxt) { }
| ^~~~~~~~~~~~~
--
In file included from kernel/printk/printk.c:26:
include/linux/console.h: In function 'nbcon_context_try_acquire':
>> include/linux/console.h:653:53: warning: no return statement in function returning non-void [-Wreturn-type]
653 | static inline bool nbcon_context_try_acquire(struct nbcon_context *ctxt) { }
| ^~~~~~~~~~~~~
In file included from kernel/printk/printk.c:62:
kernel/printk/internal.h: At top level:
>> kernel/printk/internal.h:165:20: error: redefinition of 'console_is_usable'
165 | static inline bool console_is_usable(struct console *con, short flags,
| ^~~~~~~~~~~~~~~~~
include/linux/console.h:661:20: note: previous definition of 'console_is_usable' with type 'bool(struct console *, short int, bool)' {aka '_Bool(struct console *, short int, _Bool)'}
661 | static inline bool console_is_usable(struct console *con, short flags,
| ^~~~~~~~~~~~~~~~~
vim +/console_is_usable +165 kernel/printk/internal.h
6b93bb41f6eaa1 Thomas Gleixner 2023-09-16 164
6cb58cfebb2932 John Ogness 2024-09-04 @165 static inline bool console_is_usable(struct console *con, short flags,
6cb58cfebb2932 John Ogness 2024-09-04 166 bool use_atomic) { return false; }
864c25c83d834b John Ogness 2024-08-20 167
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-07-13 7:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-13 5:09 [PATCH 0/2] Handle NBCON consoles on KDB Marcos Paulo de Souza
2025-07-13 5:09 ` [PATCH 1/2] printk: nbcon: Export console_is_usage and other nbcon symbols Marcos Paulo de Souza
2025-07-13 6:43 ` kernel test robot
2025-07-13 7:04 ` kernel test robot [this message]
2025-07-13 20:16 ` John Ogness
2025-07-13 5:09 ` [PATCH 2/2] kdb: Adapt kdb_msg_write to work with NBCON consoles Marcos Paulo de Souza
2025-07-13 20:36 ` John Ogness
2025-07-14 2:04 ` Marcos Paulo de Souza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202507131412.Lfp8uefP-lkp@intel.com \
--to=lkp@intel.com \
--cc=danielt@kernel.org \
--cc=dianders@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=jason.wessel@windriver.com \
--cc=john.ogness@linutronix.de \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mpdesouza@suse.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pmladek@suse.com \
--cc=rostedt@goodmis.org \
--cc=senozhatsky@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®