Tag: 51fa3ca37e3bebb291dbe50faa3cb259af35e978

IB/qib: Fix error return code in qib_init_7322_variables()

Author: Julia Lawall <Julia.Lawall@lip6.fr> Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier ret; expression e,e1,e2,e3,e4,x; @@ ( if (\(ret != 0\|ret < 0\) || ...) { ... return ...; …

Continue reading