]> git.baikalelectronics.ru Git - 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)
commit75dfaca822015662cd1bf762142b83d674478fe5
tree8de9bac85de4ad6a362979d5178dd7d600f90d10
parentf7886c81a61a60135be4e562f7c3e2d88799f8b2
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