[tip:locking/core] [cleanup] 3931d4b980: ktools.maple.make.fail

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-lkp,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

Hello,

kernel test robot noticed "ktools.maple.make.fail" on:

commit: 3931d4b980398012b66c8ff203bfa2ab3df71a71 ("cleanup: Basic compatibility with context analysis")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/core


in testcase: ktools
version: 
with following parameters:

	test: radix-tree/maple



config: x86_64-rhel-9.4-func
compiler: gcc-14
test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) with 32G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)


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 <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]


KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-9.4-func-3931d4b980398012b66c8ff203bfa2ab3df71a71

Generating generated/map-shift.h
Generating generated/bit-length.h
cp ../shared/autoconf.h generated/autoconf.h
cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined    -c -o main.o main.c
cc -c -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined  ../shared/xarray-shared.c -o xarray-shared.o
sed -e 's/^static //' -e 's/__always_inline //' -e 's/inline //' < ../../../lib/radix-tree.c > radix-tree.c
cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined    -c -o radix-tree.o radix-tree.c
In file included from ../shared/linux/cleanup.h:2,
                 from ../shared/linux/../../../../include/linux/idr.h:18,
                 from ../shared/linux/idr.h:5,
                 from radix-tree.c:18:
../shared/linux/../../../../include/linux/idr.h: In function ‘class_idr_alloc_destructor’:
../shared/linux/../../../../include/linux/cleanup.h:283:9: error: expected declaration specifiers before ‘__no_context_analysis’
  283 |         __no_context_analysis                                           \
      |         ^~~~~~~~~~~~~~~~~~~~~
../shared/linux/../../../../include/linux/idr.h:136:1: note: in expansion of macro ‘DEFINE_CLASS’
  136 | DEFINE_CLASS(idr_alloc, struct __class_idr,
      | ^~~~~~~~~~~~
../shared/linux/../../../../include/linux/cleanup.h:286:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__no_context_analysis’
  286 |         __no_context_analysis                                           \
      |         ^~~~~~~~~~~~~~~~~~~~~
../shared/linux/../../../../include/linux/idr.h:136:1: note: in expansion of macro ‘DEFINE_CLASS’
  136 | DEFINE_CLASS(idr_alloc, struct __class_idr,
      | ^~~~~~~~~~~~
../shared/linux/../../../../include/linux/idr.h:142:72: error: expected declaration specifiers before ‘;’ token
  142 |              struct idr *idr, void *ptr, int start, int end, gfp_t gfp);
      |                                                                        ^
../shared/linux/../../../../include/linux/idr.h:153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  153 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:167:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  167 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:178:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  178 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:190:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  190 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:259:1: warning: empty declaration
  259 | struct ida_bitmap {
      | ^~~~~~
../shared/linux/../../../../include/linux/idr.h:263:1: warning: empty declaration
  263 | struct ida {
      | ^~~~~~
../shared/linux/../../../../include/linux/idr.h:292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  292 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:310:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  310 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:328:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  328 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:333:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  333 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:338:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  338 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  343 | {
      | ^
../shared/linux/../../../../include/linux/idr.h:348:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  348 | {
      | ^
In file included from radix-tree.c:19:
../../include/linux/init.h:23:1: warning: empty declaration
   23 | struct obs_kernel_param {
      | ^~~~~~
In file included from radix-tree.c:21:
../shared/linux/kmemleak.h:1:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
    1 | static inline void kmemleak_update_trace(const void *ptr) { }
      |                                                           ^
In file included from radix-tree.c:26:
../../include/linux/slab.h:12:1: warning: empty declaration
   12 | enum _slab_flag_bits {
      | ^~~~
../../include/linux/slab.h:39:1: warning: empty declaration
   39 | enum slab_state {
      | ^~~~
../../include/linux/slab.h:46:1: warning: empty declaration
   46 | struct kmem_cache {
      | ^~~~~~
../../include/linux/slab.h:63:1: warning: empty declaration
   63 | struct kmem_cache_args {
      | ^~~~~~
../../include/linux/slab.h:126:1: warning: empty declaration
  126 | struct slab_sheaf {
      | ^~~~~~
../../include/linux/slab.h:139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  139 | {
      | ^
../../include/linux/slab.h:143:1: warning: empty declaration
  143 | struct list_lru;
      | ^~~~~~
../../include/linux/slab.h:147:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  147 | {
      | ^
../../include/linux/slab.h:161:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  161 | {
      | ^
../../include/linux/slab.h:170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  170 | {
      | ^
../../include/linux/slab.h:201:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  201 | {
      | ^
In file included from radix-tree.c:27:
../../include/linux/string.h:24:9: error: expected declaration specifiers before ‘#pragma’
   24 | #pragma GCC diagnostic push
      |         ^~~
../../include/linux/string.h:29:9: error: expected declaration specifiers before ‘#pragma’
   29 | #pragma GCC diagnostic pop
      |         ^~~
../../include/linux/string.h:43:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
   43 | {
      | ^
../../include/linux/string.h:51:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
   51 | {
      | ^
../../include/linux/string.h:61:28: error: storage class specified for parameter ‘skip_spaces’
   61 | extern char * __must_check skip_spaces(const char *);
      |                            ^~~~~~~~~~~
../../include/linux/string.h:63:14: error: storage class specified for parameter ‘strim’
   63 | extern char *strim(char *);
      |              ^~~~~
../../include/linux/string.h:65:13: error: storage class specified for parameter ‘remove_spaces’
   65 | extern void remove_spaces(char *s);
      |             ^~~~~~~~~~~~~
../../include/linux/string.h:67:14: error: storage class specified for parameter ‘memchr_inv’
   67 | extern void *memchr_inv(const void *start, int c, size_t bytes);
      |              ^~~~~~~~~~
../../include/linux/string.h:68:27: error: storage class specified for parameter ‘memparse’
   68 | extern unsigned long long memparse(const char *ptr, char **retptr);
      |                           ^~~~~~~~
In file included from radix-tree.c:30:
../../../lib/radix-tree.h:4:1: warning: empty declaration
    4 | struct kmem_cache;
      | ^~~~~~
../../../lib/radix-tree.h:5:1: warning: empty declaration
    5 | struct rcu_head;
      | ^~~~~~
../../../lib/radix-tree.h:7:27: error: storage class specified for parameter ‘radix_tree_node_cachep’
    7 | extern struct kmem_cache *radix_tree_node_cachep;
      |                           ^~~~~~~~~~~~~~~~~~~~~~
../../../lib/radix-tree.h:8:13: error: storage class specified for parameter ‘radix_tree_node_rcu_free’
    8 | extern void radix_tree_node_rcu_free(struct rcu_head *head);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
radix-tree.c:35:20: error: redefinition of parameter ‘radix_tree_node_cachep’
   35 | struct kmem_cache *radix_tree_node_cachep;
      |                    ^~~~~~~~~~~~~~~~~~~~~~
../../../lib/radix-tree.h:7:27: note: previous definition of ‘radix_tree_node_cachep’ with type ‘struct kmem_cache *’
    7 | extern struct kmem_cache *radix_tree_node_cachep;
      |                           ^~~~~~~~~~~~~~~~~~~~~~
In file included from radix-tree.c:22:
radix-tree.c:62:23: error: parameter ‘radix_tree_preloads’ is initialized
   62 | DEFINE_PER_CPU(struct radix_tree_preload, radix_tree_preloads) = {
      |                       ^~~~~~~~~~~~~~~~~~
../shared/linux/percpu.h:3:35: note: in definition of macro ‘DEFINE_PER_CPU’
    3 | #define DEFINE_PER_CPU(type, val) type val
      |                                   ^~~~
radix-tree.c:65:47: error: expected declaration specifiers before ‘;’ token
   65 | EXPORT_PER_CPU_SYMBOL_GPL(radix_tree_preloads);
      |                                               ^
radix-tree.c:68:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
   68 | {
      | ^
radix-tree.c:73:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
   73 | {
      | ^
radix-tree.c:81:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
   81 | {
      | ^
radix-tree.c:87:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
   87 | {
      | ^
radix-tree.c:96:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
   96 | {
      | ^
radix-tree.c:102:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  102 | {
      | ^
radix-tree.c:108:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  108 | {
      | ^
radix-tree.c:114:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  114 | {
      | ^
radix-tree.c:119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  119 | {
      | ^
radix-tree.c:124:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  124 | {
      | ^
radix-tree.c:129:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  129 | {
      | ^
radix-tree.c:134:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  134 | {
      | ^
radix-tree.c:139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  139 | {
      | ^
radix-tree.c:144:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  144 | {
      | ^
radix-tree.c:154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  154 | {
      | ^
radix-tree.c:164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  164 | {
      | ^
radix-tree.c:182:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  182 | {
      | ^
radix-tree.c:204:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  204 | {
      | ^
radix-tree.c:212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  212 | {
      | ^
radix-tree.c:217:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  217 | {
      | ^
radix-tree.c:224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  224 | {
      | ^
radix-tree.c:237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  237 | {
      | ^
radix-tree.c:291:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  291 | {
      | ^
radix-tree.c:309:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  309 | {
      | ^
radix-tree.c:323:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  323 | {
      | ^
radix-tree.c:366:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  366 | {
      | ^
radix-tree.c:371:34: error: expected declaration specifiers before ‘;’ token
  371 | EXPORT_SYMBOL(radix_tree_preload);
      |                                  ^
radix-tree.c:379:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  379 | {
      | ^
radix-tree.c:386:40: error: expected declaration specifiers before ‘;’ token
  386 | EXPORT_SYMBOL(radix_tree_maybe_preload);
      |                                        ^
radix-tree.c:390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  390 | {
      | ^
radix-tree.c:410:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  410 | {
      | ^
radix-tree.c:469:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  469 | {
      | ^
radix-tree.c:545:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  545 | {
      | ^
radix-tree.c:601:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  601 | {
      | ^
radix-tree.c:657:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  657 | {
      | ^
radix-tree.c:683:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  683 | {
      | ^
radix-tree.c:705:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  705 | {
      | ^
radix-tree.c:731:33: error: expected declaration specifiers before ‘;’ token
  731 | EXPORT_SYMBOL(radix_tree_insert);
      |                                 ^
radix-tree.c:750:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  750 | {
      | ^
radix-tree.c:796:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  796 | {
      | ^
radix-tree.c:803:38: error: expected declaration specifiers before ‘;’ token
  803 | EXPORT_SYMBOL(radix_tree_lookup_slot);
      |                                      ^
radix-tree.c:818:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  818 | {
      | ^
radix-tree.c:821:33: error: expected declaration specifiers before ‘;’ token
  821 | EXPORT_SYMBOL(radix_tree_lookup);
      |                                 ^
radix-tree.c:825:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  825 | {
      | ^
radix-tree.c:837:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  837 | {
      | ^
radix-tree.c:853:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  853 | {
      | ^
radix-tree.c:878:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  878 | {
      | ^
radix-tree.c:916:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  916 | {
      | ^
radix-tree.c:919:39: error: expected declaration specifiers before ‘;’ token
  919 | EXPORT_SYMBOL(radix_tree_replace_slot);
      |                                       ^
radix-tree.c:934:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  934 | {
      | ^
radix-tree.c:941:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  941 | {
      | ^
radix-tree.c:969:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  969 | {
      | ^
radix-tree.c:993:34: error: expected declaration specifiers before ‘;’ token
  993 | EXPORT_SYMBOL(radix_tree_tag_set);
      |                                  ^
radix-tree.c:998:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  998 | {
      | ^
radix-tree.c:1031:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1031 | {
      | ^
radix-tree.c:1052:36: error: expected declaration specifiers before ‘;’ token
 1052 | EXPORT_SYMBOL(radix_tree_tag_clear);
      |                                    ^
radix-tree.c:1062:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1062 | {
      | ^
radix-tree.c:1083:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1083 | {
      | ^
radix-tree.c:1108:34: error: expected declaration specifiers before ‘;’ token
 1108 | EXPORT_SYMBOL(radix_tree_tag_get);
      |                                  ^
radix-tree.c:1114:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1114 | {
      | ^
radix-tree.c:1138:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1138 | {
      | ^
radix-tree.c:1144:38: error: expected declaration specifiers before ‘;’ token
 1144 | EXPORT_SYMBOL(radix_tree_iter_resume);
      |                                      ^
radix-tree.c:1156:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1156 | {
      | ^
radix-tree.c:1239:37: error: expected declaration specifiers before ‘;’ token
 1239 | EXPORT_SYMBOL(radix_tree_next_chunk);
      |                                     ^
radix-tree.c:1264:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1264 | {
      | ^
radix-tree.c:1286:38: error: expected declaration specifiers before ‘;’ token
 1286 | EXPORT_SYMBOL(radix_tree_gang_lookup);
      |                                      ^
radix-tree.c:1305:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1305 | {
      | ^
radix-tree.c:1327:42: error: expected declaration specifiers before ‘;’ token
 1327 | EXPORT_SYMBOL(radix_tree_gang_lookup_tag);
      |                                          ^
radix-tree.c:1346:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1346 | {
      | ^
radix-tree.c:1362:47: error: expected declaration specifiers before ‘;’ token
 1362 | EXPORT_SYMBOL(radix_tree_gang_lookup_tag_slot);
      |                                               ^
radix-tree.c:1366:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1366 | {
      | ^
radix-tree.c:1396:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1396 | {
      | ^
radix-tree.c:1400:38: error: expected declaration specifiers before ‘;’ token
 1400 | EXPORT_SYMBOL(radix_tree_iter_delete);
      |                                      ^
radix-tree.c:1415:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1415 | {
      | ^
radix-tree.c:1434:38: error: expected declaration specifiers before ‘;’ token
 1434 | EXPORT_SYMBOL(radix_tree_delete_item);
      |                                      ^
radix-tree.c:1446:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1446 | {
      | ^
radix-tree.c:1449:33: error: expected declaration specifiers before ‘;’ token
 1449 | EXPORT_SYMBOL(radix_tree_delete);
      |                                 ^
radix-tree.c:1457:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1457 | {
      | ^
radix-tree.c:1460:33: error: expected declaration specifiers before ‘;’ token
 1460 | EXPORT_SYMBOL(radix_tree_tagged);
      |                                 ^
radix-tree.c:1470:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1470 | {
      | ^
radix-tree.c:1474:27: error: expected declaration specifiers before ‘;’ token
 1474 | EXPORT_SYMBOL(idr_preload);
      |                           ^
radix-tree.c:1479:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1479 | {
      | ^
radix-tree.c:1560:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1560 | {
      | ^
radix-tree.c:1567:27: error: expected declaration specifiers before ‘;’ token
 1567 | EXPORT_SYMBOL(idr_destroy);
      |                           ^
radix-tree.c:1571:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1571 | {
      | ^
radix-tree.c:1579:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1579 | {
      | ^
radix-tree.c:1595:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 1595 | {
      | ^
../shared/linux/../../../../include/linux/cleanup.h:282:29: error: old-style parameter declarations in prototyped function definition
  282 | static __always_inline void class_##_name##_destructor(_type *p)        \
      |                             ^~~~~~
../shared/linux/../../../../include/linux/idr.h:136:1: note: in expansion of macro ‘DEFINE_CLASS’
  136 | DEFINE_CLASS(idr_alloc, struct __class_idr,
      | ^~~~~~~~~~~~
radix-tree.c:1609: error: expected ‘{’ at end of input
make: *** [<builtin>: radix-tree.o] Error 1
make maple failed



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260126/[email protected]



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.