Tag: 0c8e4d70e001f7528be9d06739ecd28736396867

staging: lustre: libcfs: rewrite the right hand side of an assignment

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = >. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= …

Continue reading