Tag: df149d02ea8ee49cd14c6609cc7ef980d62dce80

hwmon: (k8temp) Adjust confusing if indentation

Author: Julia Lawall <julia@diku.dk> Move the if(err) statement after the if into the if branch indicated by its indentation. The preceding if(err) test implies that err cannot be nonzero unless the if branch is taken. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r disable braces5@ position p1,p2; statement S1,S2; @@ …

Continue reading