lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201291658.maxSRfHd-lkp@intel.com>
Date:   Sat, 29 Jan 2022 16:14:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ilya Leoshkevich <iii@...ux.ibm.com>
Cc:     kbuild-all@...ts.01.org, linux-s390@...r.kernel.org,
        linux-kernel@...r.kernel.org, Heiko Carstens <hca@...ux.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'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ