diff options
| author | Andrii Nakryiko <[email protected]> | 2021-11-24 00:23:19 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-11-25 23:15:03 +0000 |
| commit | 486e648cb2f170702fc05f777c7b6b3d8ec662ce (patch) | |
| tree | 9312bc4266d9c2fb51e405c8fa36eaff39c6e6e9 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
| parent | libbpf: Fix using invalidated memory in bpf_linker (diff) | |
| download | kernel-486e648cb2f170702fc05f777c7b6b3d8ec662ce.tar.gz kernel-486e648cb2f170702fc05f777c7b6b3d8ec662ce.zip | |
selftests/bpf: Fix UBSan complaint about signed __int128 overflow
Test is using __int128 variable as unsigned and highest order bit can be
set to 1 after bit shift. Use unsigned __int128 explicitly and prevent
UBSan from complaining.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions
