batman-adv: include build_bug.h for BUILD_BUG_ON define
authorSven Eckelmann <sven@narfation.org>
Sun, 19 Nov 2017 16:12:03 +0000 (17:12 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 15 Dec 2017 16:29:15 +0000 (17:29 +0100)
commit bc6245e5efd7 ("bug: split BUILD_BUG stuff out into
<linux/build_bug.h>") added a new header for BUILD_BUG_ON. It should
therefore be included instead of linux/bug.h

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/main.c
net/batman-adv/tp_meter.c
net/batman-adv/translation-table.c

index 0c3664aa6a58a855cbf54055d2cc313e1082ddf9..6f6c500e8aa8a7030e681c9a7db4942133ac0c3a 100644 (file)
@@ -19,7 +19,7 @@
 #include "main.h"
 
 #include <linux/atomic.h>
-#include <linux/bug.h>
+#include <linux/build_bug.h>
 #include <linux/byteorder/generic.h>
 #include <linux/crc32c.h>
 #include <linux/errno.h>
index e33f64f0fcb8226e3a4ad9f32b334a693efa34aa..fe9eb2970ec9bb8d5c4b0f6574cbc2f86ace1fd4 100644 (file)
@@ -20,7 +20,7 @@
 #include "main.h"
 
 #include <linux/atomic.h>
-#include <linux/bug.h>
+#include <linux/build_bug.h>
 #include <linux/byteorder/generic.h>
 #include <linux/cache.h>
 #include <linux/compiler.h>
index db40ca6243b3b66c61feca2344e4faa142ee1a26..27a0c34a5ad09c1bc19fd413b95ca5aa8bb4a1bc 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <linux/atomic.h>
 #include <linux/bitops.h>
-#include <linux/bug.h>
+#include <linux/build_bug.h>
 #include <linux/byteorder/generic.h>
 #include <linux/cache.h>
 #include <linux/compiler.h>