libbpf: remove compile time warning from libbpf_util.h
authorMagnus Karlsson <magnus.karlsson@intel.com>
Thu, 18 Apr 2019 07:21:10 +0000 (09:21 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 18 Apr 2019 23:07:12 +0000 (16:07 -0700)
commit79b1b30e4c209c2ff1ddd6559b41dba1dfc8bcd8
treec47dd6ce06c82144b57ab7ef3c5ef76c8d6efbaa
parentda70314917862d4da4a8d7601cd47339df8b3c23
libbpf: remove compile time warning from libbpf_util.h

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 <magnus.karlsson@intel.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf_util.h