BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v4 0/3] bpf, btf: Add DEBUG_INFO_BTF checks for __register_bpf_struct_ops
@ 2024-02-07 14:07 Geliang Tang
  2024-02-07 14:07 ` [PATCH bpf-next v4 1/3] bpf, btf: Fix error checks for btf_get_module_btf Geliang Tang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Geliang Tang @ 2024-02-07 14:07 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Song Liu, Yonghong Song, Matthieu Baerts,
	Eduard Zingerman, John Fastabend, KP Singh, Stanislav Fomichev,
	Hao Luo, Jiri Olsa
  Cc: Geliang Tang, bpf, mptcp, kernel test robot

From: Geliang Tang <tanggeliang@kylinos.cn>

v4:
 - add a new patch to fix error checks for btf_get_module_btf.
 - rename the helper to check_btf_kconfigs.

v3:
 - fix this build error:
kernel/bpf/btf.c:7750:11: error: incomplete definition of type 'struct module'

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402040934.Fph0XeEo-lkp@intel.com/

v2:
 - add register_check_missing_btf helper as Jiri suggested.

Geliang Tang (3):
  bpf, btf: Fix error checks for btf_get_module_btf
  bpf, btf: Add check_btf_kconfigs helper
  bpf, btf: Check btf for register_bpf_struct_ops

 kernel/bpf/btf.c | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-08  0:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-07 14:07 [PATCH bpf-next v4 0/3] bpf, btf: Add DEBUG_INFO_BTF checks for __register_bpf_struct_ops Geliang Tang
2024-02-07 14:07 ` [PATCH bpf-next v4 1/3] bpf, btf: Fix error checks for btf_get_module_btf Geliang Tang
2024-02-08  0:56   ` Martin KaFai Lau
2024-02-07 14:07 ` [PATCH bpf-next v4 2/3] bpf, btf: Add check_btf_kconfigs helper Geliang Tang
2024-02-07 14:07 ` [PATCH bpf-next v4 3/3] bpf, btf: Check btf for register_bpf_struct_ops Geliang Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox