diff options
author | Song Liu <song@kernel.org> | 2025-02-18 00:02:40 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-02-23 13:04:02 -0800 |
commit | 239860828f8660e2be487e2fbdae2640cce3fd67 (patch) | |
tree | ecc8125e4d4516b5f1575e107010072c7625b517 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 201b62ccc83153d2925d310a2afe762905e0c455 (diff) |
bpf: arm64: Silence "UBSAN: negation-overflow" warning
With UBSAN, test_bpf.ko triggers warnings like:
UBSAN: negation-overflow in arch/arm64/net/bpf_jit_comp.c:1333:28
negation of -2147483648 cannot be represented in type 's32' (aka 'int'):
Silence these warnings by casting imm to u32 first.
Reported-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Song Liu <song@kernel.org>
Tested-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20250218080240.2431257-1-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions