From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: tests/builtin-test.c:988:13: error: invalid storage class for function 'print_tests_summary'
Date: Fri, 15 May 2026 04:06:21 +0200 [thread overview]
Message-ID: <202605150331.LJ7JoCiL-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Ian Rogers <irogers@google.com>
CC: 0day robot <lkp@intel.com>
tree: https://github.com/intel-lab-lkp/linux/commits/Ian-Rogers/perf-jevents-py-Make-generated-C-code-more-kernel-style/20260515-050303
head: 1486b474d48345ed0cca3daad8c9966bc7c84764
commit: a393f28de6e4d0abf028c1dbe06c72292c4c9156 perf test: Add summary reporting
date: 5 hours ago
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260515/202605150331.LJ7JoCiL-lkp@intel.com/config)
compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605150331.LJ7JoCiL-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/r/202605150331.LJ7JoCiL-lkp@intel.com/
All errors (new ones prefixed by >>):
Makefile.config:577: No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent
Makefile.config:964: No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev
Makefile.config:1160: Rust is not found. Test workloads with rust are disabled.
PERF_VERSION = 7.1.rc2.ga393f28de6e4
tests/builtin-test.c: In function 'finish_tests_parallel':
tests/builtin-test.c:748:13: error: invalid storage class for function 'drain_child_process_err'
748 | static void drain_child_process_err(struct child_test *child)
| ^~~~~~~~~~~~~~~~~~~~~~~
tests/builtin-test.c:759:12: error: invalid storage class for function 'finish_tests_parallel'
759 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ^~~~~~~~~~~~~~~~~~~~~
tests/builtin-test.c:759:12: error: declaration of 'finish_tests_parallel' shadows a global declaration [-Werror=shadow]
tests/builtin-test.c:742:12: note: shadowed declaration is here
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ^~~~~~~~~~~~~~~~~~~~~
tests/builtin-test.c: In function 'finish_tests_parallel':
tests/builtin-test.c:759:54: error: declaration of 'child_tests' shadows a parameter [-Werror=shadow]
759 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
tests/builtin-test.c:742:54: note: shadowed declaration is here
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
tests/builtin-test.c:759:74: error: declaration of 'num_tests' shadows a parameter [-Werror=shadow]
759 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~^~~~~~~~~
tests/builtin-test.c:742:74: note: shadowed declaration is here
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~^~~~~~~~~
tests/builtin-test.c:759:89: error: declaration of 'width' shadows a parameter [-Werror=shadow]
759 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~^~~~~
tests/builtin-test.c:742:89: note: shadowed declaration is here
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~^~~~~
tests/builtin-test.c:761:16: error: declaration of 'next_to_print' shadows a previous local [-Werror=shadow]
761 | size_t next_to_print = 0;
| ^~~~~~~~~~~~~
tests/builtin-test.c:744:16: note: shadowed declaration is here
744 | size_t next_to_print = 0;
| ^~~~~~~~~~~~~
tests/builtin-test.c:762:24: error: declaration of 'pfds' shadows a previous local [-Werror=shadow]
762 | struct pollfd *pfds;
| ^~~~
tests/builtin-test.c:745:24: note: shadowed declaration is here
745 | struct pollfd *pfds;
| ^~~~
tests/builtin-test.c:763:17: error: declaration of 'pfd_indices' shadows a previous local [-Werror=shadow]
763 | size_t *pfd_indices;
| ^~~~~~~~~~~
tests/builtin-test.c:746:17: note: shadowed declaration is here
746 | size_t *pfd_indices;
| ^~~~~~~~~~~
tests/builtin-test.c:764:16: error: declaration of 'num_pfds' shadows a previous local [-Werror=shadow]
764 | size_t num_pfds = 0;
| ^~~~~~~~
tests/builtin-test.c:747:16: note: shadowed declaration is here
747 | size_t num_pfds = 0;
| ^~~~~~~~
tests/builtin-test.c: In function 'finish_tests_parallel':
tests/builtin-test.c:925:12: error: invalid storage class for function 'start_test'
925 | static int start_test(struct test_suite *test, int curr_suite, int curr_test_case,
| ^~~~~~~~~~
tests/builtin-test.c: In function 'start_test':
tests/builtin-test.c:926:48: error: declaration of 'width' shadows a parameter [-Werror=shadow]
926 | struct child_test **child, int width, int pass)
| ~~~~^~~~~
tests/builtin-test.c:742:89: note: shadowed declaration is here
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~^~~~~
tests/builtin-test.c: In function 'finish_tests_parallel':
tests/builtin-test.c:979:15: error: 'num_tests' redeclared as different kind of symbol
979 | static size_t num_tests;
| ^~~~~~~~~
tests/builtin-test.c:742:74: note: previous definition of 'num_tests' with type 'size_t' {aka 'long unsigned int'}
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~^~~~~~~~~
tests/builtin-test.c:980:28: error: 'child_tests' redeclared as different kind of symbol
980 | static struct child_test **child_tests;
| ^~~~~~~~~~~
tests/builtin-test.c:742:54: note: previous definition of 'child_tests' with type 'struct child_test **'
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
tests/builtin-test.c:983:13: error: invalid storage class for function 'cmd_test_sig_handler'
983 | static void cmd_test_sig_handler(int sig)
| ^~~~~~~~~~~~~~~~~~~~
>> tests/builtin-test.c:988:13: error: invalid storage class for function 'print_tests_summary'
988 | static void print_tests_summary(void)
| ^~~~~~~~~~~~~~~~~~~
tests/builtin-test.c:1004:12: error: invalid storage class for function '__cmd_test'
1004 | static int __cmd_test(struct test_suite **suites, int argc, const char *argv[],
| ^~~~~~~~~~
tests/builtin-test.c: In function '__cmd_test':
tests/builtin-test.c:1007:20: error: declaration of 'width' shadows a parameter [-Werror=shadow]
1007 | static int width = 0;
| ^~~~~
tests/builtin-test.c:742:89: note: shadowed declaration is here
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~^~~~~
tests/builtin-test.c: In function 'finish_tests_parallel':
tests/builtin-test.c:1123:12: error: invalid storage class for function 'perf_test__list'
1123 | static int perf_test__list(FILE *fp, struct test_suite **suites, int argc, const char **argv)
| ^~~~~~~~~~~~~~~
tests/builtin-test.c:1146:12: error: invalid storage class for function 'workloads__fprintf_list'
1146 | static int workloads__fprintf_list(FILE *fp)
| ^~~~~~~~~~~~~~~~~~~~~~~
tests/builtin-test.c:1157:12: error: invalid storage class for function 'run_workload'
1157 | static int run_workload(const char *work, int argc, const char **argv)
| ^~~~~~~~~~~~
tests/builtin-test.c:1170:12: error: invalid storage class for function 'perf_test__config'
1170 | static int perf_test__config(const char *var, const char *value,
| ^~~~~~~~~~~~~~~~~
tests/builtin-test.c:1179:28: error: invalid storage class for function 'build_suites'
1179 | static struct test_suite **build_suites(void)
| ^~~~~~~~~~~~
tests/builtin-test.c:1232:5: error: declaration of 'cmd_test' shadows a global declaration [-Werror=shadow]
1232 | int cmd_test(int argc, const char **argv)
| ^~~~~~~~
In file included from tests/builtin-test.c:22:
tools/perf/builtin.h:45:5: note: shadowed declaration is here
45 | int cmd_test(int argc, const char **argv);
| ^~~~~~~~
tests/builtin-test.c:1315:1: error: expected declaration or statement at end of input
1315 | }
| ^
tests/builtin-test.c:747:16: error: unused variable 'num_pfds' [-Werror=unused-variable]
747 | size_t num_pfds = 0;
| ^~~~~~~~
tests/builtin-test.c:746:17: error: unused variable 'pfd_indices' [-Werror=unused-variable]
746 | size_t *pfd_indices;
| ^~~~~~~~~~~
tests/builtin-test.c:745:24: error: unused variable 'pfds' [-Werror=unused-variable]
745 | struct pollfd *pfds;
| ^~~~
tests/builtin-test.c:744:16: error: unused variable 'next_to_print' [-Werror=unused-variable]
744 | size_t next_to_print = 0;
| ^~~~~~~~~~~~~
tests/builtin-test.c:1315:1: error: no return statement in function returning non-void [-Werror=return-type]
1315 | }
| ^
tests/builtin-test.c:742:54: error: unused parameter 'child_tests' [-Werror=unused-parameter]
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
tests/builtin-test.c:742:74: error: unused parameter 'num_tests' [-Werror=unused-parameter]
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~~~~^~~~~~~~~
tests/builtin-test.c:742:89: error: unused parameter 'width' [-Werror=unused-parameter]
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ~~~~^~~~~
tests/builtin-test.c: At top level:
tests/builtin-test.c:1232:5: error: 'cmd_test' defined but not used [-Werror=unused-function]
1232 | int cmd_test(int argc, const char **argv)
| ^~~~~~~~
tests/builtin-test.c:742:12: error: 'finish_tests_parallel' defined but not used [-Werror=unused-function]
742 | static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [tools/build/Makefile.build:96: tests/builtin-test.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [tools/build/Makefile.build:158: tests] Error 2
make[2]: *** [Makefile.perf:785: perf-test-in.o] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.perf:289: sub-make] Error 2
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-05-15 2:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202605150331.LJ7JoCiL-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.