]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Update reg_bound range refinement logic
authorPaul Chaignon <paul.chaignon@gmail.com>
Mon, 28 Jul 2025 09:51:16 +0000 (11:51 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 28 Jul 2025 17:02:12 +0000 (10:02 -0700)
commitda653de268d32a80e135c9eb960a8147c186f1bc
tree93ffa03c113f42bd317d8ab3546757a3cecef2d6
parent00bf8d0c6c9be0c481fc45a3f7d87c7f8812f229
selftests/bpf: Update reg_bound range refinement logic

This patch updates the range refinement logic in the reg_bound test to
match the new logic from the previous commit. Without this change, tests
would fail because we end with more precise ranges than the tests
expect.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Link: https://lore.kernel.org/r/b7f6b1fbe03373cca4e1bb6a113035a6cd2b3ff7.1753695655.git.paul.chaignon@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/reg_bounds.c