[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210071231.Q9WOoigr-lkp@intel.com>
Date: Fri, 7 Oct 2022 12:19:57 +0800
From: kernel test robot <lkp@...el.com>
To: Jiri Olsa <jolsa@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jolsa-perf:kprobe_multi_kmod 1/8] kernel/module/kallsyms.c:497:5:
error: redefinition of 'module_kallsyms_on_each_symbol'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git kprobe_multi_kmod
head: 21506678104e4734bd5ed8b124c53d75b61e8503
commit: 2f605260701583ef069962f00171d69c61f14303 [1/8] kallsyms: Make module_kallsyms_on_each_symbol generally available
config: x86_64-rhel-8.3-syz
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/commit/?id=2f605260701583ef069962f00171d69c61f14303
git remote add jolsa-perf https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
git fetch --no-tags jolsa-perf kprobe_multi_kmod
git checkout 2f605260701583ef069962f00171d69c61f14303
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> kernel/module/kallsyms.c:497:5: error: redefinition of 'module_kallsyms_on_each_symbol'
497 | int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/module/kallsyms.c:8:
include/linux/module.h:887:19: note: previous definition of 'module_kallsyms_on_each_symbol' with type 'int(int (*)(void *, const char *, struct module *, long unsigned int), void *)'
887 | static inline int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/module_kallsyms_on_each_symbol +497 kernel/module/kallsyms.c
91fb02f31505dc Aaron Tomlin 2022-03-22 496
91fb02f31505dc Aaron Tomlin 2022-03-22 @497 int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
:::::: The code at line 497 was first introduced by commit
:::::: 91fb02f31505dc22262b13a129550f470ab90a79 module: Move kallsyms support into a separate file
:::::: TO: Aaron Tomlin <atomlin@...hat.com>
:::::: CC: Luis Chamberlain <mcgrof@...nel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (181893 bytes)
Powered by blists - more mailing lists