On 1/17/24 5:49 PM, thinker.li@xxxxxxxxx wrote:
diff --git a/include/linux/btf.h b/include/linux/btf.h index 1d852dad7473..a68604904f4e 100644 --- a/include/linux/btf.h +++ b/include/linux/btf.h @@ -584,4 +584,6 @@ static inline bool btf_type_is_struct_ptr(struct btf *btf, const struct btf_type return btf_type_is_struct(t); }+struct bpf_struct_ops_desc;
A forward declaration at the end of a .h file is suspicious.... Not needed also?
+ #endif