diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-05-03 13:31:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-03 15:51:26 +0200 |
commit | 86f8e247b960d6cf4cad8b65162e73301c5a58ec (patch) | |
tree | 7ced2b842e32bff6ff7d5f13bd8e4b0f4bc43ce5 /lib/ratelimit.c | |
parent | net: usb: qmi_wwan: add Telit ME910 support (diff) | |
download | linux-86f8e247b960d6cf4cad8b65162e73301c5a58ec.tar.xz linux-86f8e247b960d6cf4cad8b65162e73301c5a58ec.zip |
test_bpf: Use ULL suffix for 64-bit constants
On 32-bit:
lib/test_bpf.c:4772: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4772: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4773: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4773: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4787: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4787: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4801: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4801: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4802: warning: integer constant is too large for ‘unsigned long’ type
lib/test_bpf.c:4802: warning: integer constant is too large for ‘unsigned long’ type
On 32-bit systems, "long" is only 32-bit.
Replace the "UL" suffix by "ULL" to fix this.
Fixes: 85f68fe898320575 ("bpf, arm64: implement jiting of BPF_XADD")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions