All of lore.kernel.org
 help / color / mirror / Atom feed
* [bvanassche:thread-safety 114/458] ../shared/linux/../../../../include/linux/radix-tree.h:242:9: error: expected declaration specifiers before '__cond_acquires_range'
@ 2026-11-15 20:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-15 20:37 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Bart Van Assche <bvanassche@acm.org>

tree:   https://github.com/bvanassche/linux thread-safety
head:   0e6b6b4005f8a398c95e4d8bdf0bdbb9aed73729
commit: 6f7fe706e23aa0787525b6a663704e5120c76f1b [114/458] radix-tree: Annotate the preload functions
:::::: branch date: 6 hours ago
:::::: commit date: 26 hours ago
config: powerpc64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20261115/202611152102.JylBWsEM-lkp@intel.com/config)
compiler: powerpc64-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/20261115/202611152102.JylBWsEM-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/202611152102.JylBWsEM-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from ../shared/linux/radix-tree.h:5,
                    from main.c:10:
   ../shared/linux/../../../../include/linux/radix-tree.h: In function 'radix_tree_preload':
>> ../shared/linux/../../../../include/linux/radix-tree.h:242:9: error: expected declaration specifiers before '__cond_acquires_range'
     242 |         __cond_acquires_range(0, INT_MAX, &radix_tree_preloads.lock);
         |         ^~~~~~~~~~~~~~~~~~~~~
>> ../shared/linux/../../../../include/linux/radix-tree.h:244:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cond_acquires_range'
     244 |         __cond_acquires_range(0, INT_MAX, &radix_tree_preloads.lock);
         |         ^~~~~~~~~~~~~~~~~~~~~
>> ../shared/linux/../../../../include/linux/radix-tree.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     264 | {
         | ^
>> ../shared/linux/../../../../include/linux/radix-tree.h:272:1: warning: empty declaration
     272 | enum {
         | ^~~~
   ../shared/linux/../../../../include/linux/radix-tree.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     287 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:330:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     330 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     346 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     354 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:379:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     379 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     404 | {
         | ^
>> ../shared/linux/radix-tree.h:7:12: error: storage class specified for parameter 'kmalloc_verbose'
       7 | extern int kmalloc_verbose;
         |            ^~~~~~~~~~~~~~~
>> ../shared/linux/radix-tree.h:8:12: error: storage class specified for parameter 'test_verbose'
       8 | extern int test_verbose;
         |            ^~~~~~~~~~~~
>> ../shared/linux/radix-tree.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      12 | {
         | ^
   In file included from main.c:12:
>> test.h:7:1: warning: empty declaration
       7 | struct item {
         | ^~~~~~
>> test.h:50:12: error: storage class specified for parameter 'nr_allocated'
      50 | extern int nr_allocated;
         |            ^~~~~~~~~~~~
>> test.h:59:34: error: storage class specified for parameter 'radix_tree_preloads'
      59 | extern struct radix_tree_preload radix_tree_preloads;
         |                                  ^~~~~~~~~~~~~~~~~~~
>> main.c:16:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      16 | {
         | ^
   main.c:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      39 | {
         | ^
   main.c:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      49 | {
         | ^
   main.c:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      69 | {
         | ^
   main.c:80:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      80 | {
         | ^
   main.c:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      90 | {
         | ^
   main.c:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     127 | {
         | ^
   main.c:157:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     157 | {
         | ^
   main.c:240:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     240 | {
         | ^
   main.c:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     285 | {
         | ^
>> ../shared/linux/../../../../include/linux/radix-tree.h:241:5: error: old-style parameter declarations in prototyped function definition
     241 | int radix_tree_preload(gfp_t gfp_mask)
         |     ^~~~~~~~~~~~~~~~~~
>> main.c:331: error: expected '{' at end of input
>> main.c:331: warning: control reaches end of non-void function [-Wreturn-type]
--
   In file included from ../shared/linux/radix-tree.h:5,
                    from ../shared/linux.c:12:
   ../shared/linux/../../../../include/linux/radix-tree.h: In function 'radix_tree_preload':
>> ../shared/linux/../../../../include/linux/radix-tree.h:242:9: error: expected declaration specifiers before '__cond_acquires_range'
     242 |         __cond_acquires_range(0, INT_MAX, &radix_tree_preloads.lock);
         |         ^~~~~~~~~~~~~~~~~~~~~
>> ../shared/linux/../../../../include/linux/radix-tree.h:244:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cond_acquires_range'
     244 |         __cond_acquires_range(0, INT_MAX, &radix_tree_preloads.lock);
         |         ^~~~~~~~~~~~~~~~~~~~~
>> ../shared/linux/../../../../include/linux/radix-tree.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     264 | {
         | ^
>> ../shared/linux/../../../../include/linux/radix-tree.h:272:1: warning: empty declaration
     272 | enum {
         | ^~~~
   ../shared/linux/../../../../include/linux/radix-tree.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     287 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:330:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     330 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     346 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     354 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:379:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     379 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     404 | {
         | ^
>> ../shared/linux/radix-tree.h:7:12: error: storage class specified for parameter 'kmalloc_verbose'
       7 | extern int kmalloc_verbose;
         |            ^~~~~~~~~~~~~~~
>> ../shared/linux/radix-tree.h:8:12: error: storage class specified for parameter 'test_verbose'
       8 | extern int test_verbose;
         |            ^~~~~~~~~~~~
>> ../shared/linux/radix-tree.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      12 | {
         | ^
>> ../shared/linux.c:17:5: error: redefinition of parameter 'test_verbose'
      17 | int test_verbose;
         |     ^~~~~~~~~~~~
   ../shared/linux/radix-tree.h:8:12: note: previous definition of 'test_verbose' with type 'int'
       8 | extern int test_verbose;
         |            ^~~~~~~~~~~~
>> ../shared/linux.c:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      20 | {
         | ^
   ../shared/linux.c:25:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      25 | {
         | ^
   ../shared/linux.c:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      30 | {
         | ^
   ../shared/linux.c:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      35 | {
         | ^
   ../shared/linux.c:40:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      40 | {
         | ^
   ../shared/linux.c:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      45 | {
         | ^
   ../shared/linux.c:50:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      50 | {
         | ^
   ../shared/linux.c:56:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      56 | {
         | ^
   ../shared/linux.c:107:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     107 | {
         | ^
   ../shared/linux.c:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     121 | {
         | ^
   ../shared/linux.c:130:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     130 | {
         | ^
   ../shared/linux.c:137:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     137 | {
         | ^
   ../shared/linux.c:154:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     154 | {
         | ^
   ../shared/linux.c:159:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     159 | {
         | ^
   ../shared/linux.c:234:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     234 | {
         | ^
   ../shared/linux.c:256:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     256 | {
         | ^
   ../shared/linux.c:285:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     285 | {
         | ^
   ../shared/linux.c:310:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     310 | {
         | ^
   ../shared/linux.c:320:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     320 | {
         | ^
   ../shared/linux.c:338:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     338 | {
         | ^
>> ../shared/linux/../../../../include/linux/radix-tree.h:241:5: error: old-style parameter declarations in prototyped function definition
     241 | int radix_tree_preload(gfp_t gfp_mask)
         |     ^~~~~~~~~~~~~~~~~~
>> ../shared/linux.c:377: error: expected '{' at end of input
>> ../shared/linux.c:377: warning: control reaches end of non-void function [-Wreturn-type]
--
   In file included from ../shared/linux/radix-tree.h:5,
                    from test.h:4,
                    from xarray.c:8:
   ../shared/linux/../../../../include/linux/radix-tree.h: In function 'radix_tree_preload':
>> ../shared/linux/../../../../include/linux/radix-tree.h:242:9: error: expected declaration specifiers before '__cond_acquires_range'
     242 |         __cond_acquires_range(0, INT_MAX, &radix_tree_preloads.lock);
         |         ^~~~~~~~~~~~~~~~~~~~~
>> ../shared/linux/../../../../include/linux/radix-tree.h:244:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cond_acquires_range'
     244 |         __cond_acquires_range(0, INT_MAX, &radix_tree_preloads.lock);
         |         ^~~~~~~~~~~~~~~~~~~~~
>> ../shared/linux/../../../../include/linux/radix-tree.h:264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     264 | {
         | ^
>> ../shared/linux/../../../../include/linux/radix-tree.h:272:1: warning: empty declaration
     272 | enum {
         | ^~~~
   ../shared/linux/../../../../include/linux/radix-tree.h:287:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     287 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:330:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     330 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:346:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     346 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:354:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     354 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:379:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     379 | {
         | ^
   ../shared/linux/../../../../include/linux/radix-tree.h:404:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     404 | {
         | ^
>> ../shared/linux/radix-tree.h:7:12: error: storage class specified for parameter 'kmalloc_verbose'
       7 | extern int kmalloc_verbose;
         |            ^~~~~~~~~~~~~~~
>> ../shared/linux/radix-tree.h:8:12: error: storage class specified for parameter 'test_verbose'
       8 | extern int test_verbose;
         |            ^~~~~~~~~~~~
>> ../shared/linux/radix-tree.h:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      12 | {
         | ^
>> test.h:7:1: warning: empty declaration
       7 | struct item {
         | ^~~~~~
>> test.h:50:12: error: storage class specified for parameter 'nr_allocated'
      50 | extern int nr_allocated;
         |            ^~~~~~~~~~~~
>> test.h:59:34: error: storage class specified for parameter 'radix_tree_preloads'
      59 | extern struct radix_tree_preload radix_tree_preloads;
         |                                  ^~~~~~~~~~~~~~~~~~~
   In file included from ../../../lib/test_xarray.c:10,
                    from xarray.c:11:
>> ../../include/linux/module.h:8:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
       8 | {
         | ^
>> ../../../lib/test_xarray.c:12:21: error: storage class specified for parameter 'tests_run'
      12 | static unsigned int tests_run;
         |                     ^~~~~~~~~
>> ../../../lib/test_xarray.c:13:21: error: storage class specified for parameter 'tests_passed'
      13 | static unsigned int tests_passed;
         |                     ^~~~~~~~~~~~
>> ../../../lib/test_xarray.c:15:27: error: storage class specified for parameter 'order_limit'
      15 | static const unsigned int order_limit =
         |                           ^~~~~~~~~~~
>> ../../../lib/test_xarray.c:16:17: error: parameter 'order_limit' is initialized
      16 |                 IS_ENABLED(CONFIG_XARRAY_MULTI) ? BITS_PER_LONG : 1;
         |                 ^~~~~~~~~~
>> ../../../lib/test_xarray.c:36:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      36 | {
         | ^
   ../../../lib/test_xarray.c:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      41 | {
         | ^
   ../../../lib/test_xarray.c:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      46 | {
         | ^
   ../../../lib/test_xarray.c:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      52 | {
         | ^
   ../../../lib/test_xarray.c:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      61 | {
         | ^
   ../../../lib/test_xarray.c:73:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      73 | {
         | ^
   ../../../lib/test_xarray.c:87:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      87 | {
         | ^
   ../../../lib/test_xarray.c:103:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     103 | {
         | ^
   ../../../lib/test_xarray.c:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     148 | {
         | ^
   ../../../lib/test_xarray.c:176:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     176 | {
         | ^
   ../../../lib/test_xarray.c:255:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     255 | {
         | ^
   ../../../lib/test_xarray.c:293:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     293 | {
         | ^
   ../../../lib/test_xarray.c:314:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     314 | {
         | ^
   ../../../lib/test_xarray.c:325:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     325 | {
         | ^
   ../../../lib/test_xarray.c:374:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     374 | {
         | ^
   ../../../lib/test_xarray.c:405:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     405 | {
         | ^
   ../../../lib/test_xarray.c:427:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     427 | {
         | ^
   ../../../lib/test_xarray.c:480:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     480 | {
         | ^
   ../../../lib/test_xarray.c:546:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     546 | {
         | ^
   ../../../lib/test_xarray.c:586:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     586 | {
         | ^
   ../../../lib/test_xarray.c:611:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     611 | {
         | ^
   ../../../lib/test_xarray.c:625:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     625 | {
         | ^
   ../../../lib/test_xarray.c:651:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     651 | {
         | ^
   ../../../lib/test_xarray.c:736:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     736 | {
         | ^
   ../../../lib/test_xarray.c:767:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     767 | {
         | ^
   ../../../lib/test_xarray.c:778:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     778 | {
         | ^
   ../../../lib/test_xarray.c:786:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     786 | {
         | ^
>> ../../../lib/test_xarray.c:813:22: error: storage class specified for parameter 'some_val'
     813 | static unsigned long some_val = 0xdeadbeef;
         |                      ^~~~~~~~
>> ../../../lib/test_xarray.c:813:1: error: parameter 'some_val' is initialized
     813 | static unsigned long some_val = 0xdeadbeef;
         | ^~~~~~
>> ../../../lib/test_xarray.c:814:22: error: storage class specified for parameter 'some_val_2'
     814 | static unsigned long some_val_2 = 0xdeaddead;
         |                      ^~~~~~~~~~
>> ../../../lib/test_xarray.c:814:1: error: parameter 'some_val_2' is initialized
     814 | static unsigned long some_val_2 = 0xdeaddead;
         | ^~~~~~
   ../../../lib/test_xarray.c:820:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     820 | {
         | ^
   ../../../lib/test_xarray.c:892:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     892 | {
         | ^
   ../../../lib/test_xarray.c:911:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     911 | {
         | ^
   ../../../lib/test_xarray.c:986:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
     986 | {
         | ^
   ../../../lib/test_xarray.c:1037:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1037 | {
         | ^
   In file included from ../shared/linux/xarray.h:2,
                    from ../shared/linux/../../../../include/linux/radix-tree.h:22:
   ../../../lib/test_xarray.c:1100:28: error: storage class specified for parameter 'xa0'
    1100 | static DEFINE_XARRAY_ALLOC(xa0);
         |                            ^~~
   ../shared/linux/../../../../include/linux/xarray.h:324:23: note: in definition of macro 'DEFINE_XARRAY_FLAGS'
     324 |         struct xarray name = XARRAY_INIT(name, flags)
         |                       ^~~~
   ../../../lib/test_xarray.c:1100:8: note: in expansion of macro 'DEFINE_XARRAY_ALLOC'
    1100 | static DEFINE_XARRAY_ALLOC(xa0);
         |        ^~~~~~~~~~~~~~~~~~~
   ../shared/linux/../../../../include/linux/xarray.h:324:16: error: parameter 'xa0' is initialized
     324 |         struct xarray name = XARRAY_INIT(name, flags)
         |                ^~~~~~
   ../shared/linux/../../../../include/linux/xarray.h:344:35: note: in expansion of macro 'DEFINE_XARRAY_FLAGS'
     344 | #define DEFINE_XARRAY_ALLOC(name) DEFINE_XARRAY_FLAGS(name, XA_FLAGS_ALLOC)
         |                                   ^~~~~~~~~~~~~~~~~~~
   ../../../lib/test_xarray.c:1100:8: note: in expansion of macro 'DEFINE_XARRAY_ALLOC'
    1100 | static DEFINE_XARRAY_ALLOC(xa0);
         |        ^~~~~~~~~~~~~~~~~~~
   ../../../lib/test_xarray.c:1101:29: error: storage class specified for parameter 'xa1'
    1101 | static DEFINE_XARRAY_ALLOC1(xa1);
         |                             ^~~
   ../shared/linux/../../../../include/linux/xarray.h:324:23: note: in definition of macro 'DEFINE_XARRAY_FLAGS'
     324 |         struct xarray name = XARRAY_INIT(name, flags)
         |                       ^~~~
   ../../../lib/test_xarray.c:1101:8: note: in expansion of macro 'DEFINE_XARRAY_ALLOC1'
    1101 | static DEFINE_XARRAY_ALLOC1(xa1);
         |        ^~~~~~~~~~~~~~~~~~~~
   ../shared/linux/../../../../include/linux/xarray.h:324:16: error: parameter 'xa1' is initialized
     324 |         struct xarray name = XARRAY_INIT(name, flags)
         |                ^~~~~~
   ../shared/linux/../../../../include/linux/xarray.h:353:36: note: in expansion of macro 'DEFINE_XARRAY_FLAGS'
     353 | #define DEFINE_XARRAY_ALLOC1(name) DEFINE_XARRAY_FLAGS(name, XA_FLAGS_ALLOC1)
         |                                    ^~~~~~~~~~~~~~~~~~~
   ../../../lib/test_xarray.c:1101:8: note: in expansion of macro 'DEFINE_XARRAY_ALLOC1'
    1101 | static DEFINE_XARRAY_ALLOC1(xa1);
         |        ^~~~~~~~~~~~~~~~~~~~
   ../../../lib/test_xarray.c:1104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1104 | {
         | ^
   ../../../lib/test_xarray.c:1115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1115 | {
         | ^
   ../../../lib/test_xarray.c:1143:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1143 | {
         | ^
   ../../../lib/test_xarray.c:1181:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1181 | {
         | ^
   ../../../lib/test_xarray.c:1213:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1213 | {
         | ^
   ../../../lib/test_xarray.c:1237:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1237 | {
         | ^
   ../../../lib/test_xarray.c:1251:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1251 | {
         | ^
   ../../../lib/test_xarray.c:1299:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1299 | {
         | ^
   ../../../lib/test_xarray.c:1320:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1320 | {
         | ^
   ../../../lib/test_xarray.c:1345:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1345 | {
         | ^
   ../../../lib/test_xarray.c:1361:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1361 | {
         | ^
   ../../../lib/test_xarray.c:1377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1377 | {
         | ^
   ../../../lib/test_xarray.c:1399:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1399 | {
         | ^
   ../../../lib/test_xarray.c:1431:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1431 | {
         | ^
   ../../../lib/test_xarray.c:1503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1503 | {
         | ^
..

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-15 20:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 20:37 [bvanassche:thread-safety 114/458] ../shared/linux/../../../../include/linux/radix-tree.h:242:9: error: expected declaration specifiers before '__cond_acquires_range' kernel test robot

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.