Tag: 2e0ee69c214a0197e1b081ffec9c409ab2a5f094

drivers/platform/x86: Adjust confusing if indentation

Author: Julia Lawall <julia@diku.dk> The assignment of ret to -EIO appears to only make sense if the branch that it is aligned with is executed, so move it into that branch. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (…) { …

Continue reading