Skip to content

Fixes for kfunc-mod regressions and warnings

Kumar Kartikeya Dwivedi bpf 2 versions – Applied

Status from this message: This series was applied to bpf/bpf.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesApplied 3/3
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

v1: https://lore.kernel.org/bpf/[email protected]

* Instead of demoting resolve_btfids warning to debug, only skip in case of set->cnt == 0.

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3bpf: Make CONFIG_DEBUG_INFO_BTF depend upon CONFIG_BPF_SYSCALLinclude/linux/btf.h kernel/bpf/btf.c lib/Kconfig.debug+13 -113 repliesApplied
2/3bpf: Fix bpf_check_mod_kfunc_call for built-in moduleskernel/bpf/btf.c+0 -21 replyApplied
3/3tools/resolve_btfids: Skip unresolved symbol warning for empty BTF setstools/bpf/resolve_btfids/main.c+5 -34 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSong Liu
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH bpf v2 0/3] Fixes for kfunc-mod regressions and warnings

This set includes fixes for two regressions and one build warning introduced by the kfunc for modules series.

Changelog:
----------

v1 -> v2:
v1: https://lore.kernel.org/bpf/[email protected]

* Instead of demoting resolve_btfids warning to debug, only skip in case of set->cnt == 0.

Kumar Kartikeya Dwivedi (3):
bpf: Make CONFIG_DEBUG_INFO_BTF depend upon CONFIG_BPF_SYSCALL
bpf: Fix bpf_check_mod_kfunc_call for built-in modules tools/resolve_btfids: Skip unresolved symbol warning for empty BTF
sets

 include/linux/btf.h             | 14 ++++++++++----
 kernel/bpf/btf.c                | 11 ++---------
 lib/Kconfig.debug               |  1 +
 tools/bpf/resolve_btfids/main.c |  8 +++++---
 4 files changed, 18 insertions(+), 16 deletions(-)
Signature · 1 line
2.34.0