Re: [PATCH 1/2] bpf, libbpf: Avoid unused function warning on bpf_tail_call_static

From: Yonghong Song
Date: Wed Jan 13 2021 - 20:46:56 EST




On 1/13/21 2:36 PM, Ian Rogers wrote:
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: Ian Rogers <irogers@xxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>