Tag: 8985729578cb42f9e781a8e38e5b6b1ee90c1018

ASoC: qcom: change PTR_ERR argument

Author: Julia Lawall <julia.lawall@lip6.fr> Apply PTR_ERR to the value that was recently assigned. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,y; @@ if (IS_ERR(x) || …) { … when any when != IS_ERR(…) ( PTR_ERR(x) | * PTR_ERR(y) ) … when any } // Signed-off-by: Julia Lawall Signed-off-by: …

Continue reading