selftests/bpf: Fix "dubious pointer arithmetic" test
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Tue, 8 Dec 2020 18:01:54 +0000 (19:01 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 10 Dec 2020 21:11:30 +0000 (13:11 -0800)
commit3615bdf6d9b19db12b1589861609b4f1c6a8d303
treed61558b9834317e1f0496d94d383b77dc0c4816d
parent77ce220c0549dcc3db8226c61c60e83fc59dfafc
selftests/bpf: Fix "dubious pointer arithmetic" test

The verifier trace changed following a bugfix. After checking the 64-bit
sign, only the upper bit mask is known, not bit 31. Update the test
accordingly.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/align.c