[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202202040.gLQem5B6-lkp@intel.com>
Date: Sun, 20 Feb 2022 20:29:21 +0800
From: kernel test robot <lkp@...el.com>
To: Aaron Tomlin <atomlin@...hat.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Luis Chamberlain <mcgrof@...nel.org>
Subject: [mcgrof:modules-next 1/10] kernel/module/main.c:4802:6: warning: no
previous prototype for 'module_layout'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git modules-next
head: c55dc78176e6fe97a9e92d24a7ff3015b14ac858
commit: 87b31159f78ab89d8ccda30d3eb9966af51bca64 [1/10] module: Move all into module/
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220220/202202202040.gLQem5B6-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/commit/?id=87b31159f78ab89d8ccda30d3eb9966af51bca64
git remote add mcgrof https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git
git fetch --no-tags mcgrof modules-next
git checkout 87b31159f78ab89d8ccda30d3eb9966af51bca64
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash kernel/module/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> kernel/module/main.c:4802:6: warning: no previous prototype for 'module_layout' [-Wmissing-prototypes]
4802 | void module_layout(struct module *mod,
| ^~~~~~~~~~~~~
vim +/module_layout +4802 kernel/module/main.c
^1da177e4c3f41 kernel/module.c Linus Torvalds 2005-04-16 4796
^1da177e4c3f41 kernel/module.c Linus Torvalds 2005-04-16 4797 #ifdef CONFIG_MODVERSIONS
24b9f0d2208145 kernel/module.c Sergey Shtylyov 2020-11-07 4798 /*
24b9f0d2208145 kernel/module.c Sergey Shtylyov 2020-11-07 4799 * Generate the signature for all relevant module structures here.
24b9f0d2208145 kernel/module.c Sergey Shtylyov 2020-11-07 4800 * If these change, we don't want to try to parse the module.
24b9f0d2208145 kernel/module.c Sergey Shtylyov 2020-11-07 4801 */
8c8ef42aee8fcf kernel/module.c Rusty Russell 2009-03-31 @4802 void module_layout(struct module *mod,
:::::: The code at line 4802 was first introduced by commit
:::::: 8c8ef42aee8fcfb4128bb94c50d55c9f80ade525 module: include other structures in module version check
:::::: TO: Rusty Russell <rusty@...tcorp.com.au>
:::::: CC: Rusty Russell <rusty@...tcorp.com.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists