From: kernel test robot <lkp@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Jeongjun Park <aha310510@gmail.com>
Subject: [akpm-mm:mm-unstable 16/409] lib/bootconfig.c:909: warning: expecting prototype for _xbc_exit(). Prototype was for xbc_exit() instead
Date: Wed, 17 Apr 2024 11:07:03 +0800 [thread overview]
Message-ID: <202404171107.X3xWzt1i-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: 6723e3b1a668df6b8f305dea8fb62789155d965f
commit: 408d784e0b9f1a6e30c262b48e1b29aff69690f4 [16/409] bootconfig-use-memblock_free_late-to-free-xbc-memory-to-buddy-fix
config: s390-defconfig (https://download.01.org/0day-ci/archive/20240417/202404171107.X3xWzt1i-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 7089c359a3845323f6f30c44a47dd901f2edfe63)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240417/202404171107.X3xWzt1i-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/202404171107.X3xWzt1i-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> lib/bootconfig.c:909: warning: expecting prototype for _xbc_exit(). Prototype was for xbc_exit() instead
vim +909 lib/bootconfig.c
f3668cde856299 Masami Hiramatsu 2021-09-17 899
76db5a27a827c2 Masami Hiramatsu 2020-01-11 900 /**
408d784e0b9f1a Andrew Morton 2024-04-16 901 * _xbc_exit() - Clean up all parsed bootconfig
408d784e0b9f1a Andrew Morton 2024-04-16 902 * @early: in early xbc init error
76db5a27a827c2 Masami Hiramatsu 2020-01-11 903 *
76db5a27a827c2 Masami Hiramatsu 2020-01-11 904 * This clears all data structures of parsed bootconfig on memory.
76db5a27a827c2 Masami Hiramatsu 2020-01-11 905 * If you need to reuse xbc_init() with new boot config, you can
76db5a27a827c2 Masami Hiramatsu 2020-01-11 906 * use this.
76db5a27a827c2 Masami Hiramatsu 2020-01-11 907 */
115d4d08aeb942 Masami Hiramatsu 2021-09-17 908 void __init xbc_exit(void)
76db5a27a827c2 Masami Hiramatsu 2020-01-11 @909 {
4ee1b4cac23665 Masami Hiramatsu 2021-09-17 910 xbc_free_mem(xbc_data, xbc_data_size);
76db5a27a827c2 Masami Hiramatsu 2020-01-11 911 xbc_data = NULL;
76db5a27a827c2 Masami Hiramatsu 2020-01-11 912 xbc_data_size = 0;
76db5a27a827c2 Masami Hiramatsu 2020-01-11 913 xbc_node_num = 0;
4ee1b4cac23665 Masami Hiramatsu 2021-09-17 914 xbc_free_mem(xbc_nodes, sizeof(struct xbc_node) * XBC_NODE_MAX);
a91e4f12ffc42f Masami Hiramatsu 2020-02-07 915 xbc_nodes = NULL;
ead1e19ad905b9 Masami Hiramatsu 2020-09-21 916 brace_index = 0;
76db5a27a827c2 Masami Hiramatsu 2020-01-11 917 }
76db5a27a827c2 Masami Hiramatsu 2020-01-11 918
:::::: The code at line 909 was first introduced by commit
:::::: 76db5a27a827c2c89e5120a3d486472da847863b bootconfig: Add Extra Boot Config support
:::::: TO: Masami Hiramatsu <mhiramat@kernel.org>
:::::: CC: Steven Rostedt (VMware) <rostedt@goodmis.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-04-17 3:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202404171107.X3xWzt1i-lkp@intel.com \
--to=lkp@intel.com \
--cc=aha310510@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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