diff options
author | Sidong Yang <sidong.yang@furiosa.ai> | 2024-11-16 09:10:52 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-11-16 20:01:38 +0100 |
commit | 2c8b09ac2537299511c898bc71b1a5f2756c831c (patch) | |
tree | 4cb993bba29d1c359464be75aec36cc9af15a04e /drivers/net/wireless/mediatek/mt76/mt7615/soc.c | |
parent | selftests/bpf: Fix build error with llvm 19 (diff) | |
download | linux-2c8b09ac2537299511c898bc71b1a5f2756c831c.tar.xz linux-2c8b09ac2537299511c898bc71b1a5f2756c831c.zip |
libbpf: Change hash_combine parameters from long to unsigned long
The hash_combine() could be trapped when compiled with sanitizer like "zig cc"
or clang with signed-integer-overflow option. This patch parameters and return
type to unsigned long to remove the potential overflow.
Signed-off-by: Sidong Yang <sidong.yang@furiosa.ai>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20241116081054.65195-1-sidong.yang@furiosa.ai
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/soc.c')
0 files changed, 0 insertions, 0 deletions