Tag: 6c49d79381f4bacacdef50a1902c92833e765c63

[media] ec168: fix error return code

Author: Julia Lawall <Julia.Lawall@lip6.fr> The rest of the function uses ret to store the return value, even setting ret to i a few lines before this, so return ret instead of i. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret != 0\)) …

Continue reading