Skip to content
Commit 2dedd7d2 authored by Andrii Nakryiko's avatar Andrii Nakryiko Committed by Daniel Borkmann
Browse files

bpf: Fix cast to pointer from integer of different size warning



Fix "warning: cast to pointer from integer of different size" when
casting u64 addr to void *.

Fixes: a23740ec ("bpf: Track contents of read-only maps as scalars")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarAndrii Nakryiko <andriin@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarMartin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20191011172053.2980619-1-andriin@fb.com
parent f97eea17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment