Skip to contentSkip to conversation

eth: dpaa: add missing net/xdp.h include

PATCH Applied Jakub Kicinski 3 participants 3 messages Aug 3, 2023

Subsystems (3)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 eth: dpaa: add missing net/xdp.h include

Add missing include for DPAA (fix aarch64 build).

Fixes 680ee0456a57 ("net: invert the netdevice.h vs xdp.h dependency")

---
CC: [email protected]
CC: [email protected]

---
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/freescale/dpaa/dpaa_eth.h +1 -0
index 35b8cea7f886..ac3c8ed57bbe 100644
@@ -8,6 +8,7 @@
 
 #include <linux/netdevice.h>
 #include <linux/refcount.h>
+#include <net/xdp.h>
 #include <soc/fsl/qman.h>
 #include <soc/fsl/bman.h>
 
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Jakub Kicinski

Add missing include for DPAA (fix aarch64 build).

Fixes 680ee0456a57 ("net: invert the netdevice.h vs xdp.h dependency")

---
CC: [email protected]
CC: [email protected]

---
  drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 1 +
  1 file changed, 1 insertion(+)
drivers/net/ethernet/freescale/dpaa/dpaa_eth.h +0 -0
index 35b8cea7f886..ac3c8ed57bbe 100644

drivers/net/ethernet/freescale/dpaa/dpaa_eth.h line 11

Quoted 4 lines
drivers/net/ethernet/freescale/dpaa/dpaa_eth.h +1 -0
@@ -8,6 +8,7 @@
 
  #include <linux/netdevice.h>
  #include <linux/refcount.h>
+#include <net/xdp.h>
#2 lore raw
In reply to Jakub Kicinski
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Thu, 3 Aug 2023 16:00:07 -0700 you wrote:

Add missing include for DPAA (fix aarch64 build).

Fixes 680ee0456a57 ("net: invert the netdevice.h vs xdp.h dependency")

[...]

Here is the summary with links:
- [net-next] eth: dpaa: add missing net/xdp.h include

    https://git.kernel.org/netdev/net-next/c/6f9bad6b2d7d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html