Re: linux-next: build failure after merge of the btrfs tree

From: Qu Wenruo
Date: Mon Apr 20 2020 - 21:34:43 EST




On 2020/4/21 äå9:13, Stephen Rothwell wrote:
> Hi Qu,
>
> On Tue, 21 Apr 2020 08:40:45 +0800 Qu Wenruo <wqu@xxxxxxxx> wrote:
>>
>> On 2020/4/21 äå8:25, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> After merging the btrfs tree, today's linux-next build (x86_64
>>> allmodconfig) failed like this:
>>>
>>> In file included from <command-line>:32:
>>
>> Any extra info?
>
> That is a build test of the uapi headers to make syre that they are
> self contained.

Any command to reproduce it?
As I want to avoid such problem in future development.

>
>> It builds fine in my environment, with older HEAD though.
>>
>> Is there any new commits which changed <linux/types.h> header?
>> As it should includes u8 typedef.
>
> My understanding is that you should only use the __ versions of the
> kernel types in uapi headers to avoid namespace contamination.
>
Thanks for the hint,
Qu

Attachment: signature.asc
Description: OpenPGP digital signature