diff options
author | Ian Abbott | 2017-07-11 00:51:07 +0200 |
---|---|---|
committer | Linus Torvalds | 2017-07-11 01:32:34 +0200 |
commit | bc6245e5efd70c41eaf9334b1b5e646745cb0fb3 (patch) | |
tree | 534daeb120d3a1d716136eb32e0ce97bc69ff335 /Kconfig | |
parent | linux/bug.h: correct "space required before that '-'" (diff) | |
download | kernel-qcow2-linux-bc6245e5efd70c41eaf9334b1b5e646745cb0fb3.tar.gz kernel-qcow2-linux-bc6245e5efd70c41eaf9334b1b5e646745cb0fb3.tar.xz kernel-qcow2-linux-bc6245e5efd70c41eaf9334b1b5e646745cb0fb3.zip |
bug: split BUILD_BUG stuff out into <linux/build_bug.h>
Including <linux/bug.h> pulls in a lot of bloat from <asm/bug.h> and
<asm-generic/bug.h> that is not needed to call the BUILD_BUG() family of
macros. Split them out into their own header, <linux/build_bug.h>.
Also correct some checkpatch.pl errors for the BUILD_BUG_ON_ZERO() and
BUILD_BUG_ON_NULL() macros by adding parentheses around the bitfield
widths that begin with a minus sign.
Link: http://lkml.kernel.org/r/20170525120316.24473-6-abbotti@mev.co.uk
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions