diff options
author | 2022-07-22 13:36:05 +0200 | |
---|---|---|
committer | 2022-07-22 09:07:07 -0700 | |
commit | e423414375866a399ebbe55ed044acb39846e8bf (patch) | |
tree | 31ab940b2ad0b697a66873aa577e6c83f0aa2219 /kernel | |
parent | Merge branch 'New nf_conntrack kfuncs for insertion, changing timeout, status' (diff) | |
download | linux-e423414375866a399ebbe55ed044acb39846e8bf.tar.gz linux-e423414375866a399ebbe55ed044acb39846e8bf.tar.bz2 linux-e423414375866a399ebbe55ed044acb39846e8bf.zip |
bpf: Fix build error in case of !CONFIG_DEBUG_INFO_BTF
BTF_ID_FLAGS macro needs to be able to take 0 or 1 args, so make it a
variable argument. BTF_SET8_END is incorrect, it should just be empty.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: ab21d6063c01 ("bpf: Introduce 8-byte BTF set")
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220722113605.6513-1-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions