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

2019-10-11 Thread Andrii Nakryiko
On Thu, Oct 10, 2019 at 10:16 PM Martin Lau wrote: > > On Thu, Oct 10, 2019 at 09:29:25PM -0700, Andrii Nakryiko wrote: > > Fix "warning: cast to pointer from integer of different size" when > > casting u64 addr to void *. > > > > Reported-by: kbuild test robot > > Signed-off-by: Andrii Nakryiko

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

2019-10-10 Thread Martin Lau
On Thu, Oct 10, 2019 at 09:29:25PM -0700, Andrii Nakryiko wrote: > Fix "warning: cast to pointer from integer of different size" when > casting u64 addr to void *. > > Reported-by: kbuild test robot > Signed-off-by: Andrii Nakryiko Fixes: a23740ec43ba ("bpf: Track contents of read-only maps as s

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

2019-10-10 Thread Andrii Nakryiko
Fix "warning: cast to pointer from integer of different size" when casting u64 addr to void *. Reported-by: kbuild test robot Signed-off-by: Andrii Nakryiko --- kernel/bpf/verifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.