]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Fix "dubious pointer arithmetic" test
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Wed, 3 Aug 2022 14:50:05 +0000 (17:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Aug 2022 10:57:52 +0000 (12:57 +0200)
commit975e898dddeccf0f520358e20bcc652e6c34e676
treea5dc825dc11fd2014ca04d140b024250a063c0e6
parentcea1cfe5ef02d46653b3d615f04d5445f635f1fa
selftests/bpf: Fix "dubious pointer arithmetic" test

commit 96572308f69b4450b58c4b39238b499b8e378ce3 upstream.

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>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/bpf/test_align.c