commit | 3b80b73a4b3de38f72cd79e1a157449917f2bcb5 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Wed Dec 29 17:27:41 2021 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Dec 29 20:03:05 2021 -0800 |
tree | 0e6492283c123ba05d990488f642bbe01de4cd3f | |
parent | 1705c62e300550e8cfac0d9d1c3869fb860f3162 [diff] [blame] |
net: Add includes masked by netdevice.h including uapi/bpf.h 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> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211230012742.770642-2-kuba@kernel.org
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index 4f5292c..d42b6af 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h
@@ -22,6 +22,7 @@ #include <linux/net_tstamp.h> #include <linux/reset.h> #include <net/page_pool.h> +#include <uapi/linux/bpf.h> struct stmmac_resources { void __iomem *addr;