summaryrefslogtreecommitdiff
path: root/kernel/bpf/bpf_task_storage.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2024-11-16 10:56:17 -0800
committerAlexei Starovoitov <ast@kernel.org>2024-11-16 10:56:17 -0800
commit608e99f7869e3a6e028c7cba14a896c7797e8746 (patch)
tree8f9ed8c6df11b64e5384f345c738b38e3483b696 /kernel/bpf/bpf_task_storage.c
parentfab974e6487475c2fca0a79918e8e75bd6bafffc (diff)
downloadlinux-608e99f7869e3a6e028c7cba14a896c7797e8746.tar.gz
linux-608e99f7869e3a6e028c7cba14a896c7797e8746.tar.bz2
linux-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 <olsajiri@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/bpf_task_storage.c')
0 files changed, 0 insertions, 0 deletions