]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
nfp: Explicitly include linux/bug.h
authorMark Brown <broonie@kernel.org>
Fri, 13 Oct 2017 02:50:35 +0000 (03:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Oct 2017 01:31:41 +0000 (18:31 -0700)
Today's -next build encountered an error due to a missing definition of
WARN_ON(), caused by some header reorganization removing an implicit
inclusion of linux/bug.h.  Fix this with an explicit inclusion.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_app.c
drivers/net/ethernet/netronome/nfp/nfp_asm.h

index 82c290763529e628a2c4b4c153d231ee33e6a477..5d9e2eba5b49e60a7e97306c7b736d5ca2b872c6 100644 (file)
@@ -31,6 +31,7 @@
  * SOFTWARE.
  */
 
+#include <linux/bug.h>
 #include <linux/skbuff.h>
 #include <linux/slab.h>
 
index c26aa7e4a83967df9bda2304d4108092c315467b..86e7daee609955c8086a127712b066734f5f2f52 100644 (file)
@@ -35,6 +35,7 @@
 #define __NFP_ASM_H__ 1
 
 #include <linux/bitfield.h>
+#include <linux/bug.h>
 #include <linux/types.h>
 
 #define REG_NONE       0