diff options
author | Alexei Starovoitov <ast@kernel.org> | 2018-01-23 20:05:51 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-24 10:39:58 +0100 |
commit | 31e95b61e172144bb2b626a291db1bdc0769275b (patch) | |
tree | f64c8ada251c8120e8c8e40daa5b90d77be43228 /tools/kvm/kvm_stat | |
parent | bpf: test_maps: cleanup sockmaps when test ends (diff) | |
download | linux-dev-31e95b61e172144bb2b626a291db1bdc0769275b.tar.xz linux-dev-31e95b61e172144bb2b626a291db1bdc0769275b.zip |
selftests/bpf: make 'dubious pointer arithmetic' test useful
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>
Diffstat (limited to 'tools/kvm/kvm_stat')
0 files changed, 0 insertions, 0 deletions