Messages in this thread | | | Date | Thu, 6 Sep 2018 11:00:20 -0700 | From | Alexei Starovoitov <> | Subject | Re: [PATCH bpf] selftests/bpf/test_progs: do not check errno == 0 |
| |
On Mon, Sep 03, 2018 at 07:01:59PM +0200, Mauricio Vasquez B wrote: > 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>
Applied, Thanks
| |