]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bpf: Fix various lib and testsuite build failures on 32-bit.
authorDavid Miller <davem@davemloft.net>
Wed, 28 Nov 2018 20:56:10 +0000 (12:56 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 29 Nov 2018 00:10:59 +0000 (16:10 -0800)
commit1ad93ab10e24856ea1ae9f0fd3352992afa67e1b
tree46c8b8640085ccfe8c8942a7daaf19a89eaf2cfa
parent295daee4ba108a025b9ac66231b0700e18ff5315
bpf: Fix various lib and testsuite build failures on 32-bit.

Cannot cast a u64 to a pointer on 32-bit without an intervening (long)
cast otherwise GCC warns.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/btf.c
tools/testing/selftests/bpf/test_progs.c