diff options
author | Ian Rogers <[email protected]> | 2020-05-15 09:50:03 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-05-16 01:06:05 +0200 |
commit | 8d35d74f52ae07689e575ea21f7dc2e07dd1392f (patch) | |
tree | fb494f06c3e84fa224b6ff2baced24437ad4092a /tools/perf/scripts/python/compaction-times.py | |
parent | f516acd5397fdbb77ef0aad0798d9ef7c3001d72 (diff) |
libbpf, hashmap: Fix signedness warnings
Fixes the following warnings:
hashmap.c: In function ‘hashmap__clear’:
hashmap.h:150:20: error: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
150 | for (bkt = 0; bkt < map->cap; bkt++) \
hashmap.c: In function ‘hashmap_grow’:
hashmap.h:150:20: error: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
150 | for (bkt = 0; bkt < map->cap; bkt++) \
Signed-off-by: Ian Rogers <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions