From: Alexei Starovoitov Date: Fri, 19 Sep 2014 20:53:51 +0000 (-0700) Subject: net: bpf: fix compiler warnings in test_bpf X-Git-Tag: omap-for-v3.19/prcm-cleanup~78^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25ee7327d04bc3ff41a7a5ac42d74226f8d60ac6;p=pandora-kernel.git 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 Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed