Re: [PATCH v2 bpf-next] bpf: fix cast to pointer from integer of different size warning

2019-10-11 Thread Daniel Borkmann
On Fri, Oct 11, 2019 at 10:20:53AM -0700, Andrii Nakryiko wrote: > Fix "warning: cast to pointer from integer of different size" when > casting u64 addr to void *. > > Fixes: a23740ec43ba ("bpf: Track contents of read-only maps as scalars") > Reported-by: kbuild test robot > Acked-by: Martin KaFa

[PATCH v2 bpf-next] bpf: fix cast to pointer from integer of different size warning

2019-10-11 Thread Andrii Nakryiko
Fix "warning: cast to pointer from integer of different size" when casting u64 addr to void *. Fixes: a23740ec43ba ("bpf: Track contents of read-only maps as scalars") Reported-by: kbuild test robot Acked-by: Martin KaFai Lau Signed-off-by: Andrii Nakryiko --- kernel/bpf/verifier.c | 2 +- 1 f