Re: [PATCH bpf-next v2 1/2] net: add includes masked by netdevice.h including uapi/bpf.h

From
Wei Liu <wei.liu@kernel.org>
Date
2022-01-06 13:03:42
Also in
bpf, linux-arm-kernel, linux-hyperv, linux-omap
Reply to
Jakub Kicinski, 2021-12-30
On Wed, Dec 29, 2021 at 05:27:41PM -0800, Jakub Kicinski wrote:
Add missing includes unmasked by the subsequent change.

Mostly network drivers missing an include for XDP_PACKET_HEADROOM.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
[...]
 drivers/net/ethernet/microsoft/mana/mana_en.c      | 2 ++
This seems trivially correct, so in case an ack is needed:

Acked-by: Wei Liu <wei.liu@kernel.org>
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ethernet/microsoft/mana/mana_en.c b/drivers/net/ethernet/microsoft/mana/mana_en.c
index c1d5a374b967..2ece9e90dc50 100644
--- a/drivers/net/ethernet/microsoft/mana/mana_en.c
+++ b/drivers/net/ethernet/microsoft/mana/mana_en.c
@@ -1,6 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /* Copyright (c) 2021, Microsoft Corporation. */
 
+#include <uapi/linux/bpf.h>
+
 #include <linux/inetdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
Thread (5 messages) 5 messages, 3 authors, last reply 2022-01-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help