[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1f622dd9-35c9-3274-abd6-f1d1bcbe2745@iogearbox.net>
Date: Tue, 16 Apr 2019 10:26:06 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: andrii.nakryiko@...il.com, netdev@...r.kernel.org,
bpf@...r.kernel.org, kernel-team@...com, davem@...emloft.net
Cc: Andrii Nakryiko <andriin@...com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Alexei Starovoitov <ast@...com>, Yonghong Song <yhs@...com>,
Martin KaFai Lau <kafai@...com>
Subject: Re: [PATCH bpf-next] kbuild: handle old pahole more gracefully when
generating BTF
On 04/15/2019 11:58 PM, andrii.nakryiko@...il.com wrote:
> From: Andrii Nakryiko <andriin@...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.masahiro@...ionext.com>
> Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
> Cc: Daniel Borkmann <daniel@...earbox.net>
> Cc: Alexei Starovoitov <ast@...com>
> Cc: Yonghong Song <yhs@...com>
> Cc: Martin KaFai Lau <kafai@...com>
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Applied, thanks!
Powered by blists - more mailing lists