On Sun, Oct 20, 2019 at 5:52 PM Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> wrote: > > On Sun, Oct 20, 2019 at 4:24 AM Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> 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@xxxxxx> > > Signed-off-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> Applied.Thanks