All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: kbuild-all@lists.01.org, linux-s390@vger.kernel.org,
	linux-kernel@vger.kernel.org, Heiko Carstens <hca@linux.ibm.com>
Subject: [s390:fixes 5/6] arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0000'
Date: Sat, 29 Jan 2022 16:14:37 +0800	[thread overview]
Message-ID: <202201291658.maxSRfHd-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git fixes
head:   c9bb19368b3ab111aedf3297e65bf84c9d3aa005
commit: 90c5318795eefa09a9f9aef8d18a904e24962b5c [5/6] s390/module: test loading modules with a lot of relocations
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20220129/202201291658.maxSRfHd-lkp@intel.com/config)
compiler: s390-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/s390/linux.git/commit/?id=90c5318795eefa09a9f9aef8d18a904e24962b5c
        git remote add s390 https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
        git fetch --no-tags s390 fixes
        git checkout 90c5318795eefa09a9f9aef8d18a904e24962b5c
        # 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=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0000' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:6:9: note: in expansion of macro 'DEFINE_RETURN'
       6 |         f(x ## 0); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0001' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:7:9: note: in expansion of macro 'DEFINE_RETURN'
       7 |         f(x ## 1); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0002' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:8:9: note: in expansion of macro 'DEFINE_RETURN'
       8 |         f(x ## 2); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0003' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:9:9: note: in expansion of macro 'DEFINE_RETURN'
       9 |         f(x ## 3); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0004' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:10:9: note: in expansion of macro 'DEFINE_RETURN'
      10 |         f(x ## 4); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0005' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:11:9: note: in expansion of macro 'DEFINE_RETURN'
      11 |         f(x ## 5); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0006' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:12:9: note: in expansion of macro 'DEFINE_RETURN'
      12 |         f(x ## 6); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0007' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:13:9: note: in expansion of macro 'DEFINE_RETURN'
      13 |         f(x ## 7); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0008' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:14:9: note: in expansion of macro 'DEFINE_RETURN'
      14 |         f(x ## 8); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0009' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:15:9: note: in expansion of macro 'DEFINE_RETURN'
      15 |         f(x ## 9)
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0010' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:6:9: note: in expansion of macro 'DEFINE_RETURN'
       6 |         f(x ## 0); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0011' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:7:9: note: in expansion of macro 'DEFINE_RETURN'
       7 |         f(x ## 1); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0012' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:8:9: note: in expansion of macro 'DEFINE_RETURN'
       8 |         f(x ## 2); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0013' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:9:9: note: in expansion of macro 'DEFINE_RETURN'
       9 |         f(x ## 3); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0014' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:10:9: note: in expansion of macro 'DEFINE_RETURN'
      10 |         f(x ## 4); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0015' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:11:9: note: in expansion of macro 'DEFINE_RETURN'
      11 |         f(x ## 5); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0016' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:12:9: note: in expansion of macro 'DEFINE_RETURN'
      12 |         f(x ## 6); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0017' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:13:9: note: in expansion of macro 'DEFINE_RETURN'
      13 |         f(x ## 7); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0018' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:14:9: note: in expansion of macro 'DEFINE_RETURN'
      14 |         f(x ## 8); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0019' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:15:9: note: in expansion of macro 'DEFINE_RETURN'
      15 |         f(x ## 9)
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0020' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:6:9: note: in expansion of macro 'DEFINE_RETURN'
       6 |         f(x ## 0); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0021' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:7:9: note: in expansion of macro 'DEFINE_RETURN'
       7 |         f(x ## 1); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0022' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:8:9: note: in expansion of macro 'DEFINE_RETURN'
       8 |         f(x ## 2); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0023' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:9:9: note: in expansion of macro 'DEFINE_RETURN'
       9 |         f(x ## 3); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0024' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:10:9: note: in expansion of macro 'DEFINE_RETURN'
      10 |         f(x ## 4); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \


vim +/test_modules_return_0000 +8 arch/s390/lib/test_modules_helpers.c

     6	
     7	#define DEFINE_RETURN(i) \
   > 8		int test_modules_return_ ## i(void) \
     9		{ \
    10			return 1 ## i - 10000; \
    11		} \
    12		EXPORT_SYMBOL_GPL(test_modules_return_ ## i)
  > 13	REPEAT_10000(DEFINE_RETURN);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [s390:fixes 5/6] arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0000'
Date: Sat, 29 Jan 2022 16:14:37 +0800	[thread overview]
Message-ID: <202201291658.maxSRfHd-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 27458 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git fixes
head:   c9bb19368b3ab111aedf3297e65bf84c9d3aa005
commit: 90c5318795eefa09a9f9aef8d18a904e24962b5c [5/6] s390/module: test loading modules with a lot of relocations
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20220129/202201291658.maxSRfHd-lkp(a)intel.com/config)
compiler: s390-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/s390/linux.git/commit/?id=90c5318795eefa09a9f9aef8d18a904e24962b5c
        git remote add s390 https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
        git fetch --no-tags s390 fixes
        git checkout 90c5318795eefa09a9f9aef8d18a904e24962b5c
        # 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=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0000' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:6:9: note: in expansion of macro 'DEFINE_RETURN'
       6 |         f(x ## 0); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0001' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:7:9: note: in expansion of macro 'DEFINE_RETURN'
       7 |         f(x ## 1); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0002' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:8:9: note: in expansion of macro 'DEFINE_RETURN'
       8 |         f(x ## 2); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0003' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:9:9: note: in expansion of macro 'DEFINE_RETURN'
       9 |         f(x ## 3); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0004' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:10:9: note: in expansion of macro 'DEFINE_RETURN'
      10 |         f(x ## 4); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0005' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:11:9: note: in expansion of macro 'DEFINE_RETURN'
      11 |         f(x ## 5); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0006' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:12:9: note: in expansion of macro 'DEFINE_RETURN'
      12 |         f(x ## 6); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0007' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:13:9: note: in expansion of macro 'DEFINE_RETURN'
      13 |         f(x ## 7); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0008' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:14:9: note: in expansion of macro 'DEFINE_RETURN'
      14 |         f(x ## 8); \
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0009' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:15:9: note: in expansion of macro 'DEFINE_RETURN'
      15 |         f(x ## 9)
         |         ^
   arch/s390/lib/test_modules.h:17:9: note: in expansion of macro '__REPEAT_10000_3'
      17 |         __REPEAT_10000_3(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0010' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:6:9: note: in expansion of macro 'DEFINE_RETURN'
       6 |         f(x ## 0); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0011' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:7:9: note: in expansion of macro 'DEFINE_RETURN'
       7 |         f(x ## 1); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0012' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:8:9: note: in expansion of macro 'DEFINE_RETURN'
       8 |         f(x ## 2); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0013' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:9:9: note: in expansion of macro 'DEFINE_RETURN'
       9 |         f(x ## 3); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0014' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:10:9: note: in expansion of macro 'DEFINE_RETURN'
      10 |         f(x ## 4); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0015' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:11:9: note: in expansion of macro 'DEFINE_RETURN'
      11 |         f(x ## 5); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0016' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:12:9: note: in expansion of macro 'DEFINE_RETURN'
      12 |         f(x ## 6); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0017' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:13:9: note: in expansion of macro 'DEFINE_RETURN'
      13 |         f(x ## 7); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0018' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:14:9: note: in expansion of macro 'DEFINE_RETURN'
      14 |         f(x ## 8); \
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
>> arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0019' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:15:9: note: in expansion of macro 'DEFINE_RETURN'
      15 |         f(x ## 9)
         |         ^
   arch/s390/lib/test_modules.h:18:9: note: in expansion of macro '__REPEAT_10000_3'
      18 |         __REPEAT_10000_3(f, x ## 1); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0020' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:6:9: note: in expansion of macro 'DEFINE_RETURN'
       6 |         f(x ## 0); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0021' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:7:9: note: in expansion of macro 'DEFINE_RETURN'
       7 |         f(x ## 1); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0022' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:8:9: note: in expansion of macro 'DEFINE_RETURN'
       8 |         f(x ## 2); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0023' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:9:9: note: in expansion of macro 'DEFINE_RETURN'
       9 |         f(x ## 3); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:39:9: note: in expansion of macro '__REPEAT_10000_1'
      39 |         __REPEAT_10000_1(f, 0); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:13:1: note: in expansion of macro 'REPEAT_10000'
      13 | REPEAT_10000(DEFINE_RETURN);
         | ^~~~~~~~~~~~
   arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0024' [-Wmissing-prototypes]
       8 |         int test_modules_return_ ## i(void) \
         |             ^~~~~~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:10:9: note: in expansion of macro 'DEFINE_RETURN'
      10 |         f(x ## 4); \
         |         ^
   arch/s390/lib/test_modules.h:19:9: note: in expansion of macro '__REPEAT_10000_3'
      19 |         __REPEAT_10000_3(f, x ## 2); \
         |         ^~~~~~~~~~~~~~~~
   arch/s390/lib/test_modules.h:28:9: note: in expansion of macro '__REPEAT_10000_2'
      28 |         __REPEAT_10000_2(f, x ## 0); \


vim +/test_modules_return_0000 +8 arch/s390/lib/test_modules_helpers.c

     6	
     7	#define DEFINE_RETURN(i) \
   > 8		int test_modules_return_ ## i(void) \
     9		{ \
    10			return 1 ## i - 10000; \
    11		} \
    12		EXPORT_SYMBOL_GPL(test_modules_return_ ## i)
  > 13	REPEAT_10000(DEFINE_RETURN);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

             reply	other threads:[~2022-01-29  8:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29  8:14 kernel test robot [this message]
2022-01-29  8:14 ` [s390:fixes 5/6] arch/s390/lib/test_modules_helpers.c:8:13: warning: no previous prototype for 'test_modules_return_0000' kernel test robot

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=202201291658.maxSRfHd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hca@linux.ibm.com \
    --cc=iii@linux.ibm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    /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.