Re: [PATCH v1 bpf-next] selftests/bpf : Clean up feature/ when make clean

2019-06-10 Thread Andrii Nakryiko
On Mon, Jun 10, 2019 at 12:03 PM Hechao Li wrote: > > Andrii Nakryiko wrote on Mon [2019-Jun-10 > 11:05:28 -0700]: > > On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote: > > > > > > I got an error when compiling selftests/bpf: > > > > > > libbpf.c:411:10: error: implicit declaration of function '

Re: [PATCH v1 bpf-next] selftests/bpf : Clean up feature/ when make clean

2019-06-10 Thread Song Liu
> On Jun 10, 2019, at 12:02 PM, Hechao Li wrote: > > Andrii Nakryiko wrote on Mon [2019-Jun-10 > 11:05:28 -0700]: >> On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote: >>> >>> I got an error when compiling selftests/bpf: >>> >>> libbpf.c:411:10: error: implicit declaration of function 'real

Re: [PATCH v1 bpf-next] selftests/bpf : Clean up feature/ when make clean

2019-06-10 Thread Hechao Li
Andrii Nakryiko wrote on Mon [2019-Jun-10 11:05:28 -0700]: > On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote: > > > > I got an error when compiling selftests/bpf: > > > > libbpf.c:411:10: error: implicit declaration of function 'reallocarray'; > > did you mean 'realloc'? [-Werror=implicit-functi

Re: [PATCH v1 bpf-next] selftests/bpf : Clean up feature/ when make clean

2019-06-10 Thread Andrii Nakryiko
On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote: > > I got an error when compiling selftests/bpf: > > libbpf.c:411:10: error: implicit declaration of function 'reallocarray'; > did you mean 'realloc'? [-Werror=implicit-function-declaration] > progs = reallocarray(progs, nr_progs + 1, sizeof(prog

[PATCH v1 bpf-next] selftests/bpf : Clean up feature/ when make clean

2019-06-10 Thread Hechao Li
I got an error when compiling selftests/bpf: libbpf.c:411:10: error: implicit declaration of function 'reallocarray'; did you mean 'realloc'? [-Werror=implicit-function-declaration] progs = reallocarray(progs, nr_progs + 1, sizeof(progs[0])); It was caused by feature-reallocarray=1 in FEATURE-D