]> 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)
commit4c7a0fef52ad46dc4ca7de6fca99c71746239d85
tree8de9bac85de4ad6a362979d5178dd7d600f90d10
parent9fa776395ddc7fc5e4d6953df4dc39da51f63129
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