diff options
author | Alexei Starovoitov <[email protected]> | 2014-09-19 13:53:51 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-09-22 16:21:30 -0400 |
commit | 25ee7327d04bc3ff41a7a5ac42d74226f8d60ac6 (patch) | |
tree | d56b2be119d01a9c34f4aacb51d6cf6daa7b5f61 /net/lapb/lapb_subr.c | |
parent | de5df63228fcfbd5bb7fd883774c18fec9e61f12 (diff) |
net: bpf: fix compiler warnings in test_bpf
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions