summaryrefslogtreecommitdiff
path: root/samples/bpf/test_cgrp2_tc_kern.c
diff options
context:
space:
mode:
authorAlexander Alemayhu <alexander@alemayhu.com>2017-04-24 15:31:06 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-24 16:20:19 -0400
commit69b6a7f743d3dac773f9a4c7b1786164ae329490 (patch)
treeb3ee07d60ba9e8658421e2536649aca2603ff746 /samples/bpf/test_cgrp2_tc_kern.c
parente390b55d5aefe2b51569068b2a505d19d72afbf1 (diff)
samples/bpf: add -Wno-unknown-warning-option to clang
I was initially going to remove '-Wno-address-of-packed-member' because I thought it was not supposed to be there but Daniel suggested using '-Wno-unknown-warning-option'. This silences several warnings similiar to the one below warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option] 1 warning generated. clang -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h \ -D__KERNEL__ -D__ASM_SYSREG_H -Wno-unused-value -Wno-pointer-sign \ -Wno-compare-distinct-pointer-types \ -Wno-gnu-variable-sized-type-not-at-end \ -Wno-address-of-packed-member -Wno-tautological-compare \ -O2 -emit-llvm -c samples/bpf/xdp_tx_iptunnel_kern.c -o -| llc -march=bpf -filetype=obj -o samples/bpf/xdp_tx_iptunnel_kern.o $ clang --version clang version 3.9.1 (tags/RELEASE_391/final) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/test_cgrp2_tc_kern.c')
0 files changed, 0 insertions, 0 deletions