samples/bpf: silence compiler warnings
authorAlexei Starovoitov <ast@fb.com>
Fri, 2 Dec 2016 02:31:12 +0000 (18:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2016 21:01:14 +0000 (16:01 -0500)
commit69a9d09b2251aeb968e76f39f2b89774312daa3d
tree5f0f18269ce9086baa80f2842b6acb86cfd5d995
parent6af2d5fff2fdcd481cb9a4f354a0880142b17c60
samples/bpf: silence compiler warnings

silence some of the clang compiler warnings like:
include/linux/fs.h:2693:9: warning: comparison of unsigned enum expression < 0 is always false
arch/x86/include/asm/processor.h:491:30: warning: taking address of packed member 'sp0' of class or structure 'x86_hw_tss' may result in an unaligned pointer value
include/linux/cgroup-defs.h:326:16: warning: field 'cgrp' with variable sized type 'struct cgroup' not at the end of a struct or class is a GNU extension
since they add too much noise to samples/bpf/ build.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/Makefile