forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 093a6c67005148ae32a5c9e4553491b9f5c2457b
kernel/include/linux/bpf.h
....@@ -740,7 +740,7 @@
740740 static inline struct bpf_trampoline *bpf_trampoline_get(u64 key,
741741 struct bpf_attach_target_info *tgt_info)
742742 {
743
- return ERR_PTR(-EOPNOTSUPP);
743
+ return NULL;
744744 }
745745 static inline void bpf_trampoline_put(struct bpf_trampoline *tr) {}
746746 #define DEFINE_BPF_DISPATCHER(name)