diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2023-11-01 20:37:46 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-09 18:58:39 -0800 |
| commit | d540517990a9d105bf0312760665964916ac044f (patch) | |
| tree | 74d542816412d7d12aaf80c6ae442013ded48196 /scripts/generate_rust_analyzer.py | |
| parent | 93f7378734b595fb61e89b802002fb7e3a1267d2 (diff) | |
bpf: derive smin32/smax32 from umin32/umax32 bounds
All the logic that applies to u64 vs s64, equally applies for u32 vs s32
relationships (just taken in a smaller 32-bit numeric space). So do the
same deduction of smin32/smax32 from umin32/umax32, if we can.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231102033759.2541186-5-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
