Skip to content

selftests/bpf: Fix selftests fails with clang23

KaFai Wan bpf linux-kselftest lkml llvm 3 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesApplied 4/4
  2. v27 patches 4 repliesSuperseded 3 of 7 applied
  3. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

- Remove the patch already applied.

Patches in v3 All 4 applied

#Subject and filesSizeRepliesApplied
1/4bpf: Determine freplace staticness from BTF linkagekernel/bpf/verifier.c tools/testing/selftests/bpf/prog_tests/exceptions.c+3 -20 repliesApplied
2/4selftests/bpf: Fix stack_arg precision backtracking log expectationtools/testing/selftests/bpf/progs/stack_arg_precision.c+2 -20 repliesApplied
3/4selftests/bpf: Fix stack arg pruning test JOIN log expectationtools/testing/selftests/bpf/progs/verifier_stack_arg.c+2 -20 repliesApplied
4/4selftests/bpf: Use _exit() in uprobe_multi_test clone-ed childtools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c+2 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH bpf-next v3 0/4] selftests/bpf: Fix selftests fails with clang23

Building with clang/LLVM 23 breaks several selftests. Patches #1 to #4 fix those failures.

Changes in v3:
- Remove the patch already applied.

Changes in v2:
- https://lore.kernel.org/bpf/[email protected]/
- Collect the selftest fixes from the two patches in v1
patches: #1, #5, #6 and #7.
- Add three new patches: #2, #3 and #4.

Changes in v1:
- https://lore.kernel.org/bpf/[email protected]/T/
- https://lore.kernel.org/bpf/[email protected]/T/

---
KaFai Wan (4):
bpf: Determine freplace staticness from BTF linkage selftests/bpf: Fix stack_arg precision backtracking log expectation selftests/bpf: Fix stack arg pruning test JOIN log expectation selftests/bpf: Use _exit() in uprobe_multi_test clone-ed child

 kernel/bpf/verifier.c                                      | 3 ++-
 tools/testing/selftests/bpf/prog_tests/exceptions.c        | 2 +-
 tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c | 4 ++--
 tools/testing/selftests/bpf/progs/stack_arg_precision.c    | 4 ++--
 tools/testing/selftests/bpf/progs/verifier_stack_arg.c     | 4 ++--
 5 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
2.43.0