linux/drivers/staging/xgifb
Aya Mahfouz 462833726c staging: xgifb: 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 <op> b);
to be:
a <op>= b;
where <op> = << | >>.

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 <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-02-26 15:23:46 -08:00
..
Kconfig
Makefile
TODO staging: xgifb: Update TODO 2014-05-18 10:03:32 -07:00
vb_def.h staging: xgifb: Removed a definition which was not used in driver 2014-11-03 16:10:38 -08:00
vb_init.c staging: xgifb: remove unnecessary else 2014-09-06 21:48:19 -07:00
vb_init.h
vb_setmode.c staging: xgifb: rewrite the right hand side of an assignment 2015-02-26 15:23:46 -08:00
vb_setmode.h
vb_struct.h
vb_table.h
vb_util.c staging: xgifb: Removed an unnecessary assignment statement 2014-10-27 10:33:05 +08:00
vb_util.h
vgatypes.h
XGI_main_26.c staging: xgifb: fix colours on big-endian machines other than powerpc 2015-02-07 17:24:11 +08:00
XGI_main.h
XGIfb.h