On 01/24/2018 05:05 AM, Alexei Starovoitov wrote: > 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 <a...@kernel.org>
Applied to bpf-next, thanks Alexei!