From: Aya Mahfouz Date: Thu, 26 Feb 2015 09:44:18 +0000 (+0200) Subject: staging: lustre: lov: rewrite the right hand side of an assignment X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~883 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c99f8f41434ac70b7a7b79569984cdaf266a1d;p=pandora-kernel.git staging: lustre: lov: rewrite the right hand side of an assignment 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 >>= e; @@ identifier i; expression e; @@ -i = (i << e); +i <<= e; Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed