Skip to contentSkip to conversation

linux-next: build failure after merge of the kspp tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 26, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the kspp tree, today's linux-next build (x86_64 allmodconfig) failed like this:

In file included from ./usr/include/linux/posix_types.h:5,

                 from ./usr/include/linux/types.h:9,
                 from ./usr/include/rdma/rdma_user_rxe.h:37,
                 from <command-line>:32:

./usr/include/rdma/rdma_user_rxe.h:134:24: error: unknown type name 'u8'
134 | __DECLARE_FLEX_ARRAY(u8, inline_data);
| ^~
./usr/include/linux/stddef.h:42:3: note: in definition of macro '__DECLARE_FLEX_ARRAY'

   42 |   TYPE NAME[]; \
      |   ^~~~

Caused by commit

a908f2e5a6d0 ("treewide: Replace open-coded flex arrays in unions")

I have used the kspp tree from next-20210825 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 9 lines · Stephen Rothwell

Hi all,

After merging the kspp tree, today's linux-next build (x86_64 allmodconfig) failed like this:

In file included from ./usr/include/linux/posix_types.h:5,

                from ./usr/include/linux/types.h:9,
                from ./usr/include/rdma/rdma_user_rxe.h:37,
                from <command-line>:32:
Quoted 6 lines

./usr/include/rdma/rdma_user_rxe.h:134:24: error: unknown type name 'u8'
134 | __DECLARE_FLEX_ARRAY(u8, inline_data);
| ^~
./usr/include/linux/stddef.h:42:3: note: in definition of macro '__DECLARE_FLEX_ARRAY'

  42 |   TYPE NAME[]; \
     |   ^~~~

Thanks -- I've fixed this now. Typo in conversion. :)

-Kees