[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQLLuL7-6S-Ms7QvEEiQRTNkn0rBcfp=17xy3-NdBcsHWg@mail.gmail.com>
Date: Sun, 20 Oct 2019 18:22:31 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andrii.nakryiko@...il.com>
Cc: Jakub Sitnicki <jakub@...udflare.com>, bpf <bpf@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
kernel-team <kernel-team@...udflare.com>,
Andrii Nakryiko <andriin@...com>
Subject: Re: [PATCH bpf-next v2] scripts/bpf: Print an error when known types
list needs updating
On Sun, Oct 20, 2019 at 5:52 PM Andrii Nakryiko
<andrii.nakryiko@...il.com> wrote:
>
> On Sun, Oct 20, 2019 at 4:24 AM Jakub Sitnicki <jakub@...udflare.com> wrote:
> >
> > Don't generate a broken bpf_helper_defs.h header if the helper script needs
> > updating because it doesn't recognize a newly added type. Instead print an
> > error that explains why the build is failing, clean up the partially
> > generated header and stop.
> >
> > v1->v2:
> > - Switched from temporary file to .DELETE_ON_ERROR.
> >
> > Fixes: 456a513bb5d4 ("scripts/bpf: Emit an #error directive known types list needs updating")
> > Suggested-by: Andrii Nakryiko <andriin@...com>
> > Signed-off-by: Jakub Sitnicki <jakub@...udflare.com>
Applied.Thanks
Powered by blists - more mailing lists