summaryrefslogtreecommitdiff
path: root/bpf.vim
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-08-29 10:57:21 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-08-29 10:57:21 +0200
commit01443208f148701af9bf6cd40249dbe3028f9272 (patch)
treee2b7223cb0c573cd8172de0dafcb7c35cbe69fd4 /bpf.vim
parentf6ffd033f7e07e927f6a64d6cc4496c8583eea02 (diff)
ifpps: Use unsigned int to store number of cpus
The number of CPUs can never be negative and get_number_cpus() returns unsigned int too, so consistently conver all variables holding a CPU number or number of CPUs to type unsigned int. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf.vim')
0 files changed, 0 insertions, 0 deletions
Daniel Borkmann <daniel@iogearbox.net> Cc: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/test_verifier.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/bpf/test_verifier.c