cgroup, bpf: remove unnecessary #include
Subsystems (4)
PATCH 1/1 cgroup, bpf: remove unnecessary #include
this #include is unnecessary and brings whole set of other headers into cgroup-defs.h. Remove it.
--- include/linux/bpf-cgroup.h | 1 - 1 file changed, 1 deletion(-)
include/linux/bpf-cgroup.h +0 -1
@@ -1,7 +1,6 @@#ifndef _BPF_CGROUP_H#define _BPF_CGROUP_H -#include <linux/bpf.h> #include <linux/jump_label.h> #include <uapi/linux/bpf.h>
Signature · 1 line
2.8.0
Quoted 24 lines · Alexei Starovoitov
this #include is unnecessary and brings whole set of other headers into
cgroup-defs.h. Remove it.Fixes 3007098494be ("cgroup: add support for eBPF programs")Signed-off-by Alexei Starovoitov <[email protected]>--- include/linux/bpf-cgroup.h | 1 - 1 file changed, 1 deletion(-)include/linux/bpf-cgroup.h +0
-2@@ -1,7 +1,6 @@#ifndef _BPF_CGROUP_H#define _BPF_CGROUP_H -#include <linux/bpf.h> #include <linux/jump_label.h> #include <uapi/linux/bpf.h> --2.8.0
Quoted 5 lines · Alexei Starovoitov
this #include is unnecessary and brings whole set of other headers into
cgroup-defs.h. Remove it.Fixes 3007098494be ("cgroup: add support for eBPF programs")Signed-off-by Alexei Starovoitov <[email protected]>
This fixes many build errors in samples/bpf/ due to wrong helper redefinitions (originating from kernel includes conflicting with samples' helper declarations).
I don't see it pushed out to net-next yet, so:
Daniel Mack
Acked-byQuoted 7 lines · Daniel Borkmann
Quoted 5 lines · Alexei Starovoitov
this #include is unnecessary and brings whole set of other headers into
cgroup-defs.h. Remove it.Fixes 3007098494be ("cgroup: add support for eBPF programs")Signed-off-by Alexei Starovoitov <[email protected]>
Quoted 8 lines
This fixes many build errors in
samples/bpf/due to wrong helper redefinitions (originating from kernel includes conflicting with samples' helper declarations).I don't see it pushed out to net-next yet, so:
Acked-by Daniel Borkmann <[email protected]>
FWIW:
Quoted 9 lines · Daniel Borkmann
Quoted 6 lines · Alexei Starovoitov
this #include is unnecessary and brings whole set of other headers into
cgroup-defs.h. Remove it.Fixes 3007098494be ("cgroup: add support for eBPF programs")Signed-off-by Alexei Starovoitov <[email protected]>
Quoted 7 lines
This fixes many build errors in
samples/bpf/due to wrong helper redefinitions (originating from kernel includes conflicting with samples' helper declarations).I don't see it pushed out to net-next yet, so:
Acked-by Daniel Borkmann <[email protected]>
Dave,
this patch is marked as 'accepted', but I don't see in net-next ... please double check.
Thanks!