Skip to content
Commit ce5a518e authored by Ian Rogers's avatar Ian Rogers Committed by Andrii Nakryiko
Browse files

bpf, libbpf: Avoid unused function warning on bpf_tail_call_static



Add inline to __always_inline making it match the linux/compiler.h.
Adding this avoids an unused function warning on bpf_tail_call_static
when compining with -Wall.

Signed-off-by: default avatarIan Rogers <irogers@google.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210113223609.3358812-1-irogers@google.com
parent fbeed934
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment