summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-01-12 10:55:15 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-01-13 02:00:01 +0300
commit6943c2b05bf09fd5c5729f7d7d803bf3f126cb9a (patch)
tree5375cf60cc7a35acb13be538d1d3abef3d74e05a /tools/perf/scripts/python/mem-phys-addr.py
parenta643bff752dcf72a07e1b2ab2f8587e4f51118be (diff)
downloadlinux-6943c2b05bf09fd5c5729f7d7d803bf3f126cb9a.tar.xz
bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
BPF interpreter uses extra input argument, so re-casts __bpf_call_base into __bpf_call_base_args. Avoid compiler warning about incompatible function prototypes by casting to void * first. Fixes: 1ea47e01ad6e ("bpf: add support for bpf_call to interpreter") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210112075520.4103414-3-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions