aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMauricio Vasquez B <mauricio.vasquez@polito.it>2018-09-03 19:01:59 +0200
committerAlexei Starovoitov <ast@kernel.org>2018-09-06 22:34:08 -0700
commitf5bd3948eb07e76fcd73d0b8ab7b3265be226038 (patch)
tree9ad9a009961dc85c1ac826f34f04b3a729dd2d1e /include
parentselftests/bpf: add missing executables to .gitignore (diff)
downloadlinux-dev-f5bd3948eb07e76fcd73d0b8ab7b3265be226038.tar.xz
linux-dev-f5bd3948eb07e76fcd73d0b8ab7b3265be226038.zip
selftests/bpf/test_progs: do not check errno == 0
The errno man page states: "The value in errno is significant only when the return value of the call indicated an error..." then it is not correct to check it, it could be different than zero even if the function succeeded. It causes some false positives if errno is set by a previous function. Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions