[akpm-mm:mm-unstable 16/409] lib/bootconfig.c:909: warning: expecting prototype for _xbc_exit(). Prototype was for xbc_exit() instead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404171107.X3xWzt1i-lkp@xxxxxxxxx/

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@xxxxxxxxxx>
:::::: CC: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux