aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorDmitry Safonov <[email protected]>2024-08-23 23:04:53 +0100
committerJakub Kicinski <[email protected]>2024-08-27 14:11:27 -0700
commitbc2468f98221a194769cac80051da6b86cc39c2f (patch)
tree9fa29b14502f870cdaf99c9f61e2a7fe964b60c6 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent7053e788ded5f8ec589e4507d764d6a894780d6c (diff)
selftests/net: Be consistent in kconfig checks
Most of the functions in tcp-ao lib/ return negative errno or -1 in case of a failure. That creates inconsistencies in lib/kconfig, which saves what was the error code. As well as the uninitialized kconfig value is -1, which also may be the result of a check. Define KCONFIG_UNKNOWN and save negative return code, rather than libc-style errno. Signed-off-by: Dmitry Safonov <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions