diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2014-09-19 13:53:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-22 16:21:30 -0400 |
commit | 25ee7327d04bc3ff41a7a5ac42d74226f8d60ac6 (patch) | |
tree | d56b2be119d01a9c34f4aacb51d6cf6daa7b5f61 /net/ipv6 | |
parent | de5df63228fcfbd5bb7fd883774c18fec9e61f12 (diff) | |
download | op-kernel-dev-25ee7327d04bc3ff41a7a5ac42d74226f8d60ac6.zip op-kernel-dev-25ee7327d04bc3ff41a7a5ac42d74226f8d60ac6.tar.gz |
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 <fengguang.wu@intel.com>
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions