diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-01-28 03:06:26 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-01-28 23:30:08 +0300 |
commit | 804acdd251e837bb1a588074752d69698ac36b5f (patch) | |
tree | d5a4483110c5ae08784715545b7f1e2ba1d5ae58 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 31da9be64a1136e5699a1fc59a45001d6b98acdc (diff) | |
download | linux-804acdd251e837bb1a588074752d69698ac36b5f.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions