Ian Abbott bc6245e5ef 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>
2017-07-10 16:32:34 -07:00
..
2017-07-09 18:48:37 -07:00
2017-07-03 20:55:59 -07:00
2017-04-21 10:45:01 -04:00
2017-06-03 19:29:26 +09:00
2017-07-03 01:43:45 -07:00
2017-06-29 17:34:57 +02:00
2017-06-08 18:52:36 -07:00
2017-07-06 16:24:33 -07:00
2017-07-01 16:15:13 -07:00
2017-07-01 16:15:13 -07:00
2017-07-03 02:22:52 -07:00
2017-07-10 10:51:53 -07:00
2017-05-24 12:43:30 -04:00
2017-06-05 16:59:12 +02:00
2017-07-05 11:46:59 -07:00
2017-06-22 15:43:47 +01:00
2017-06-09 11:52:07 +02:00
2017-05-18 10:30:19 -06:00
2017-07-10 16:32:31 -07:00
2017-07-07 20:09:10 -04:00
2017-07-07 09:44:06 -07:00
2017-07-07 09:49:24 +10:00
2017-04-27 05:13:04 -04:00
2017-07-10 16:32:31 -07:00
2017-07-07 20:09:10 -04:00
2017-06-05 16:59:10 +02:00
2017-05-18 10:07:41 -04:00
2017-05-18 10:07:40 -04:00
2017-06-21 14:37:12 -04:00
2017-07-10 10:51:53 -07:00
2017-05-08 17:15:12 -07:00
2017-05-03 15:52:10 -07:00
2017-06-04 16:53:00 +02:00
2017-07-07 18:39:15 -07:00
2017-04-24 14:30:46 -04:00
2017-05-10 13:03:38 -07:00
2017-04-26 13:03:04 -04:00
2017-06-05 16:59:16 +02:00
2017-05-09 15:15:47 -07:00
2017-05-26 10:10:37 +02:00
2017-07-08 15:51:57 -07:00
2017-05-18 10:07:40 -04:00
2017-07-03 15:12:52 -07:00
2017-06-29 10:48:57 +01:00
2017-05-03 15:52:10 -07:00
2017-06-08 10:35:49 +02:00
2017-05-08 17:15:12 -07:00
2017-07-06 16:24:30 -07:00
2017-06-15 12:12:40 -04:00
2017-06-08 18:52:42 -07:00
2017-06-01 14:53:04 -04:00
2017-07-03 20:04:16 -07:00
2017-07-05 17:09:27 -07:00
2017-05-09 16:43:22 +03:00
2017-06-09 11:54:54 +02:00