diff options
| author | Sidong Yang <[email protected]> | 2024-11-16 08:10:52 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-11-16 19:01:38 +0000 |
| commit | 2c8b09ac2537299511c898bc71b1a5f2756c831c (patch) | |
| tree | 4cb993bba29d1c359464be75aec36cc9af15a04e /fs/xfs/xfs_exchrange.c | |
| parent | selftests/bpf: Fix build error with llvm 19 (diff) | |
| download | kernel-2c8b09ac2537299511c898bc71b1a5f2756c831c.tar.gz kernel-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 <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions
