summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2021-05-31 21:25:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-10 13:43:53 +0300
commitecc26ff830cbfba9740965a97521c9709b4bb048 (patch)
tree0c6807dd6185f7ec37ec9305442df3045254bdad /.cocciconfig
parent591da46fae4f01be07f5750107cfa7f973627994 (diff)
downloadlinux-ecc26ff830cbfba9740965a97521c9709b4bb048.tar.xz
selftests/bpf: make 'dubious pointer arithmetic' test useful
commit 31e95b61e172144bb2b626a291db1bdc0769275b upstream. mostly revert the previous workaround and make 'dubious pointer arithmetic' test useful again. Use (ptr - ptr) << const instead of ptr << const to generate large scalar. The rest stays as before commit 2b36047e7889. Fixes: 2b36047e7889 ("selftests/bpf: fix test_align") Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> [fllinden@amazon.com: adjust for 4.14 (no liveness of regs in output)] Signed-off-by: Frank van der Linden <fllinden@amazon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions