]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bpf: use BPF_CAST_CALL for casting bpf call
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Tue, 16 Apr 2019 09:13:01 +0000 (18:13 +0900)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 17 Apr 2019 02:28:31 +0000 (19:28 -0700)
commit0d306c31b2f77391dacdeaad4470c577f2aecc4f
tree8de9bac85de4ad6a362979d5178dd7d600f90d10
parent725721a6506eea53bfde81a34e91a06d6162c216
bpf: use BPF_CAST_CALL for casting bpf call

verifier.c uses BPF_CAST_CALL for casting bpf call except at one
place in jit_subprogs(). Let's use the macro for consistency.

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c