Re: [PATCH v3] kconfig.h: Include compiler types to avoid missed struct attributes

From: Linus Torvalds
Date: Thu Feb 22 2018 - 15:17:10 EST


On Thu, Feb 22, 2018 at 11:57 AM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> Hmm. But does that mean deps for kconfig.h are broken too? That seems
> silly. I'll take a look...

Yes, kconfig.h itself shares the same problem, but it has generally
been just about the config option testing itself, so you'd normally
never care.

I'm not saying that fixing that too would be wrong, I'm just saying
that linux/compiler_types.h tends to have way more subtle stuff in it,
and get changed in ways that are not directly related to the config
options that we track other ways (ie our dependency making script very
much is all about those config options).

Linus