Home
last modified time | relevance | path

Searched hist:"804 acdd251e837bb1a588074752d69698ac36b5f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dusdt.cdiff 804acdd251e837bb1a588074752d69698ac36b5f Fri Jan 27 18:06:26 CST 2023 Ilya Leoshkevich <iii@linux.ibm.com> selftests/bpf: Set errno when urand_spawn() fails

The result of urand_spawn() is checked with ASSERT_OK_PTR, which treats
NULL as success if errno == 0.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20230128000650.1516334-8-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>