From: Geliang Tang <tanggeliang@xxxxxxxxxx> v3: - fix this build error: kernel/bpf/btf.c:7750:11: error: incomplete definition of type 'struct module' Reported-by: kernel test robot <lkp@xxxxxxxxx> Closes: https://lore.kernel.org/oe-kbuild-all/202402040934.Fph0XeEo-lkp@xxxxxxxxx/ v2: - add register_check_missing_btf helper as Jiri suggested. Geliang Tang (2): bpf, btf: Add register_check_missing_btf helper bpf, btf: Check btf for register_bpf_struct_ops kernel/bpf/btf.c | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) -- 2.40.1