Re: [PATCH net-next 0/3] Misc BPF cleanup

2017-04-24 Thread David Miller
From: Alexander Alemayhu 
Date: Mon, 24 Apr 2017 15:31:05 +0200

> while looking into making the Makefile in samples/bpf better handle O= I saw
> several warnings when running `make clean && make samples/bpf/`. This series
> reduces those warnings.

Series applied, thanks.


Re: [PATCH net-next 0/3] Misc BPF cleanup

2017-04-24 Thread Alexei Starovoitov

On 4/24/17 6:31 AM, Alexander Alemayhu wrote:

Hei,

while looking into making the Makefile in samples/bpf better handle O= I saw
several warnings when running `make clean && make samples/bpf/`. This series
reduces those warnings.


Cleanup looks good to me.
Acked-by: Alexei Starovoitov 



[PATCH net-next 0/3] Misc BPF cleanup

2017-04-24 Thread Alexander Alemayhu
Hei,

while looking into making the Makefile in samples/bpf better handle O= I saw
several warnings when running `make clean && make samples/bpf/`. This series
reduces those warnings.

Thanks.

Alexander Alemayhu (3):
  samples/bpf: add -Wno-unknown-warning-option to clang
  samples/bpf: add static to function with no prototype
  samples/bpf: check before defining offsetof

 samples/bpf/Makefile| 1 +
 samples/bpf/cookie_uid_helper_example.c | 2 +-
 samples/bpf/test_lru_dist.c | 4 +++-
 3 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.9.3