dpaa2-eth: fix recursive header include
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 24 Jun 2020 11:34:20 +0000 (14:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:03:39 +0000 (16:03 -0700)
The dpaa2-eth.h header file includes dpaa2-eth-trace.h which includes
back dpaa2-eth leading to a recursion in the include path. Fix this by
removing the include of dpaa2-eth.h in the trace header.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h

index 9801528..5fb5f14 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
-#include "dpaa2-eth.h"
 #include <linux/tracepoint.h>
 
 #define TR_FMT "[%s] fd: addr=0x%llx, len=%u, off=%u"