diff options
| author | Alexei Starovoitov <[email protected]> | 2024-11-16 18:56:17 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-11-16 18:56:17 +0000 |
| commit | 608e99f7869e3a6e028c7cba14a896c7797e8746 (patch) | |
| tree | 8f9ed8c6df11b64e5384f345c738b38e3483b696 /fs/xfs/xfs_exchrange.c | |
| parent | libbpf: Fix memory leak in bpf_program__attach_uprobe_multi (diff) | |
| download | kernel-608e99f7869e3a6e028c7cba14a896c7797e8746.tar.gz kernel-608e99f7869e3a6e028c7cba14a896c7797e8746.zip | |
selftests/bpf: Fix build error with llvm 19
llvm 19 fails to compile arena self test:
CLNG-BPF [test_progs] verifier_arena_large.bpf.o
progs/verifier_arena_large.c:90:24: error: unsupported signed division, please convert to unsigned div/mod.
90 | pg_idx = (pg - base) / PAGE_SIZE;
Though llvm <= 18 and llvm >= 20 don't have this issue,
fix the test to avoid the build error.
Reported-by: Jiri Olsa <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions
