Re: [PATCH net-next] samples/bpf: silence compiler warnings

2016-12-03 Thread David Miller
From: Alexei Starovoitov Date: Thu, 1 Dec 2016 18:31:12 -0800 > 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 > mem

[PATCH net-next] samples/bpf: silence compiler warnings

2016-12-01 Thread Alexei Starovoitov
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 p