diff options
| author | Leon Hwang <leon.hwang@linux.dev> | 2026-05-18 17:54:45 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-19 04:51:32 +0300 |
| commit | 652f0c2c999d28d820bbe2e1aa16d8e0fea369ea (patch) | |
| tree | 362ff4b42cb5fd1bf8c763e4b86c62dd1680682b /lib/debugobjects.c | |
| parent | b4844cb6d1ecff732c99b70998749973c6f50591 (diff) | |
| download | linux-652f0c2c999d28d820bbe2e1aa16d8e0fea369ea.tar.xz | |
selftests/bpf: Use -1 as token_fd in map create failure test
Because 0xFF can be an open BPF token fd in the test runner that will fail
test_invalid_token_fd(), change token_fd from 0xFF to -1 to avoid such
test failure.
Fixes: f675483cac1d ("selftests/bpf: Add tests to verify map create failure log")
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Link: https://lore.kernel.org/r/20260518145446.6794-5-leon.hwang@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
