diff options
author | Namhyung Kim <[email protected]> | 2024-10-11 10:00:21 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-10-11 12:36:59 -0700 |
commit | 989a29cfed9b5092c3e18be14e9032c51bb1c9f6 (patch) | |
tree | 8818399908e15c621e83e878f526e93417066c2c /scripts/gdb/linux/radixtree.py | |
parent | e6c209da7e0e9aaf955a7b59e91ed78c2b6c96fb (diff) |
libbpf: Fix possible compiler warnings in hashmap
The hashmap__for_each_entry[_safe] is accessing 'map' as a pointer.
But it does without parentheses so passing a static hash map with an
ampersand (like '&slab_hash') will cause compiler warnings due
to unmatched types as '->' operator has a higher precedence.
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions