Skip to content

Commit

Permalink
nfp: Explicitly include linux/bug.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and David S. Miller committed Oct 15, 2017
1 parent 7f4e568 commit 4c7787b
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/netronome/nfp/nfp_app.c
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@
* SOFTWARE.
*/

#include <linux/bug.h>
#include <linux/skbuff.h>
#include <linux/slab.h>

1 change: 1 addition & 0 deletions drivers/net/ethernet/netronome/nfp/nfp_asm.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4c7787b

Please sign in to comment.