From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0267924664849746297==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH v3 13/13] module: Move version support into a separate file Date: Sat, 29 Jan 2022 06:36:26 +0800 Message-ID: <202201290622.wUZhhlyA-lkp@intel.com> In-Reply-To: <20220128203934.600247-14-atomlin@redhat.com> List-Id: --===============0267924664849746297== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Aaron, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on a97ac8cb24a3c3ad74794adb83717ef1605d1b47] url: https://github.com/0day-ci/linux/commits/Aaron-Tomlin/module-core-c= ode-clean-up/20220129-044218 base: a97ac8cb24a3c3ad74794adb83717ef1605d1b47 config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220129= /202201290622.wUZhhlyA-lkp(a)intel.com/config) compiler: mips-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/201551e21d44a3860e99b3cf3= 371d3e4823d9eb1 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Aaron-Tomlin/module-core-code-clea= n-up/20220129-044218 git checkout 201551e21d44a3860e99b3cf3371d3e4823d9eb1 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dmips SHELL=3D/bin/bash kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/module/version.c:17:6: warning: no previous prototype for 'module= _layout' [-Wmissing-prototypes] 17 | void module_layout(struct module *mod, | ^~~~~~~~~~~~~ In file included from kernel/module/version.c:8: include/linux/module.h:374:12: warning: 'module_enforce_rwx_sections' de= fined but not used [-Wunused-function] 374 | static int module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *= sechdrs, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/module.h:373:13: warning: 'module_enable_ro' defined but n= ot used [-Wunused-function] 373 | static void module_enable_ro(const struct module *mod, bool afte= r_init) {} | ^~~~~~~~~~~~~~~~ include/linux/module.h:372:13: warning: 'module_enable_nx' defined but n= ot used [-Wunused-function] 372 | static void module_enable_nx(const struct module *mod) { } | ^~~~~~~~~~~~~~~~ include/linux/module.h:356:13: warning: 'module_enable_x' defined but no= t used [-Wunused-function] 356 | static void module_enable_x(const struct module *mod) { } | ^~~~~~~~~~~~~~~ vim +/module_layout +17 kernel/module/version.c 12 = 13 /* 14 * Generate the signature for all relevant module structures here. 15 * If these change, we don't want to try to parse the module. 16 */ > 17 void module_layout(struct module *mod, 18 struct modversion_info *ver, 19 struct kernel_param *kp, 20 struct kernel_symbol *ks, 21 struct tracepoint * const *tp) 22 { 23 } 24 EXPORT_SYMBOL(module_layout); 25 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0267924664849746297==--