On Thu, Sep 3, 2020 at 1:36 PM Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> wrote: > > On Thu, Sep 3, 2020 at 1:06 PM Hao Luo <haoluo@xxxxxxxxxx> wrote: > > > > The returned value of bpf_object__open_file() should be checked with > > libbpf_get_error() rather than NULL. This fix prevents test_progs from > > crash when test_global_data.o is not present. > > > > Signed-off-by: Hao Luo <haoluo@xxxxxxxxxx> > > --- > > thanks! > > Acked-by: Andrii Nakryiko <andriin@xxxxxx> Applied. Thanks