summaryrefslogtreecommitdiffstats
path: root/net/xdp
diff options
context:
space:
mode:
authorAndrii Nakryiko2019-07-09 06:00:07 +0200
committerDaniel Borkmann2019-07-12 14:51:03 +0200
commit36db2a94f19ae1fcf1e6d8253df0c32f90f92860 (patch)
treec5303ec4f058cdda3566e2df0becd7fb15d32262 /net/xdp
parentbpf: fix precision bit propagation for BPF_ST instructions (diff)
downloadkernel-qcow2-linux-36db2a94f19ae1fcf1e6d8253df0c32f90f92860.tar.gz
kernel-qcow2-linux-36db2a94f19ae1fcf1e6d8253df0c32f90f92860.tar.xz
kernel-qcow2-linux-36db2a94f19ae1fcf1e6d8253df0c32f90f92860.zip
libbpf: fix ptr to u64 conversion warning on 32-bit platforms
On 32-bit platforms compiler complains about conversion: libbpf.c: In function ‘perf_event_open_probe’: libbpf.c:4112:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] attr.config1 = (uint64_t)(void *)name; /* kprobe_func or uprobe_path */ ^ Reported-by: Matt Hart <matthew.hart@linaro.org> Fixes: b26500274767 ("libbpf: add kprobe/uprobe attach API") Tested-by: Matt Hart <matthew.hart@linaro.org> Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions