[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180817133935.b93ce7534656e587d4c8d3e6@linux-foundation.org>
Date: Fri, 17 Aug 2018 13:39:35 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: Christopher Li <sparse@...isli.org>, linux-sparse@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] linux/compiler.h: don't use bool
On Fri, 17 Aug 2018 12:10:35 +0200 Rasmus Villemoes <linux@...musvillemoes.dk> wrote:
> Appararently, it's possible to have a non-trivial TU include a few headers,
> including linux/build_bug.h, without ending up with linux/types.h. So
> the 0day bot sent me
What's a "TU"?
>
> config: um-x86_64_defconfig (attached as .config)
>
> >> include/linux/compiler.h:316:3: error: unknown type name 'bool'; did you mean '_Bool'?
> bool __cond = !(condition); \
>
> for something I'm working on.
>
> Rather than contributing to the #include madness and including
> linux/types.h from compiler.h, just use int.
Powered by blists - more mailing lists