On 04/15/2019 11:58 PM, andrii.nakry...@gmail.com wrote: > From: Andrii Nakryiko <andr...@fb.com> > > When CONFIG_DEBUG_INFO_BTF is enabled but available version of pahole is too > old to support BTF generation, build script is supposed to emit warning and > proceed with the build. Due to using exit instead of return from BASH > function, > existing handling code prematurely exits exit code 0, not completing some of > the build steps. This patch fixes issue by correctly returning just from > gen_btf() function only. > > Fixes: e83b9f55448a ("kbuild: add ability to generate BTF type info for > vmlinux") > Cc: Masahiro Yamada <yamada.masah...@socionext.com> > Cc: Arnaldo Carvalho de Melo <a...@redhat.com> > Cc: Daniel Borkmann <dan...@iogearbox.net> > Cc: Alexei Starovoitov <a...@fb.com> > Cc: Yonghong Song <y...@fb.com> > Cc: Martin KaFai Lau <ka...@fb.com> > Signed-off-by: Andrii Nakryiko <andr...@fb.com>
Applied, thanks!