aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2018-08-21 21:55:45 -0700
committerLinus Torvalds <[email protected]>2018-08-22 10:52:47 -0700
commit203583990cb675aeddff6d7623f68268068c078c (patch)
treec8f73b2dc6e97cf78c183bb0110697c245e91fd4 /scripts/patch-kernel
parentce0a568d327968367f294ea2425fe2c6f4f33ed2 (diff)
linux/compiler.h: don't use bool
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 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. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Rasmus Villemoes <[email protected]> Cc: Christopher Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions