Re: [PATCH bpf-next] libbpf: remove compile time warning from libbpf_util.h

2019-04-18 Thread Alexei Starovoitov
On Thu, Apr 18, 2019 at 12:21 AM Magnus Karlsson wrote: > > Having a helpful compile time warning in libbpf_util.h is not a good > idea since all warnings are treated as errors. Change this into a > comment in the code instead. > > Fixes: b7e3a28019c9 ("libbpf: remove dependency on barrier.h in xs

Re: [PATCH bpf-next] libbpf: remove compile time warning from libbpf_util.h

2019-04-18 Thread Y Song
On Thu, Apr 18, 2019 at 12:23 AM Magnus Karlsson wrote: > > Having a helpful compile time warning in libbpf_util.h is not a good > idea since all warnings are treated as errors. Change this into a > comment in the code instead. > > Fixes: b7e3a28019c9 ("libbpf: remove dependency on barrier.h in xs

[PATCH bpf-next] libbpf: remove compile time warning from libbpf_util.h

2019-04-18 Thread Magnus Karlsson
Having a helpful compile time warning in libbpf_util.h is not a good idea since all warnings are treated as errors. Change this into a comment in the code instead. Fixes: b7e3a28019c9 ("libbpf: remove dependency on barrier.h in xsk.h") Signed-off-by: Magnus Karlsson --- tools/lib/bpf/libbpf_util