Thread (3 messages) flat view 3 messages, 3 authors, 2014-09-22

Re: [PATCH net-next] net: bpf: fix compiler warnings in test_bpf

From: David Miller <davem@davemloft.net>
Date: 2014-09-22 20:22:03

From: Alexei Starovoitov <redacted>
Date: Fri, 19 Sep 2014 13:53:51 -0700
old gcc 4.2 used by avr32 architecture produces warnings:

lib/test_bpf.c:1741: warning: integer constant is too large for 'long' type
lib/test_bpf.c:1741: warning: integer constant is too large for 'long' type
lib/test_bpf.c: In function '__run_one':
lib/test_bpf.c:1897: warning: 'ret' may be used uninitialized in this function

silence these warnings.

Fixes: 02ab695bb37e ("net: filter: add "load 64-bit immediate" eBPF instruction")
Reported-by: Fengguang Wu <redacted>
Signed-off-by: Alexei Starovoitov <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help