* [akpm-mm:mm-unstable 16/409] lib/bootconfig.c:909: warning: expecting prototype for _xbc_exit(). Prototype was for xbc_exit() instead
@ 2024-04-17 3:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-17 3:07 UTC (permalink / raw)
To: Andrew Morton
Cc: llvm, oe-kbuild-all, Linux Memory Management List, Jeongjun Park
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-17 3:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17 3:07 [akpm-mm:mm-unstable 16/409] lib/bootconfig.c:909: warning: expecting prototype for _xbc_exit(). Prototype was for xbc_exit() instead kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox