linux/drivers/staging
Aya Mahfouz ae52e527c9 staging: rtl8712: 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:47 -08:00
..
android Staging drivers patches for 3.20-rc1 2015-02-15 11:30:39 -08:00
board Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
clocking-wizard staging: clocking-wizard: Handle invalid clk in notifier 2015-01-17 16:06:20 -08:00
comedi staging: comedi: drivers: replace init_timer by setup_timer 2015-02-26 12:31:53 -08:00
dgap staging: dgap: fix "if" statement that always evaluates to true 2015-01-25 20:08:13 +08:00
dgnc Staging: dgnc: Removed trailing whitespace 2015-02-26 13:15:41 -08:00
emxx_udc Staging: emxx_udc: Convert from __attribute__((aligned(size))) to __aligned(size) 2015-02-24 15:28:35 -08:00
fbtft Staging: fbtft: removed trailing whitespace 2015-02-26 13:11:27 -08:00
ft1000 Staging: ft1000: Removed unnecessary braces 2015-02-26 15:15:22 -08:00
fwserial staging: fwserial: remove multiple blank lines 2014-11-26 13:53:25 -08:00
gdm72xx More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
gdm724x staging: gdm724x: fix line limit coding style issue in gdm_lte.c 2015-01-17 14:57:43 -08:00
goldfish staging: goldfish: avoid multiple assignments 2014-09-06 21:54:57 -07:00
gs_fpgaboot staging: gs_fpgaboot: io.c: Remove unused function 2015-01-17 15:19:52 -08:00
i2o Staging: i2o: Add blank line 2015-02-26 12:23:59 -08:00
iio Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
lustre Staging: lustre: Deleted space prohibited between function name and open parenthesis 2015-02-26 12:23:58 -08:00
media Staging: media: mn88473: Match alignment with open parenthesis 2015-02-26 12:23:59 -08:00
mt29f_spinand staging: mt29f_spinand: Fix typo in Kconfig 2015-01-17 16:22:15 -08:00
netlogic Staging: NetLogic: Coding style correction 2015-01-17 15:17:10 -08:00
nvec staging: nvec: specify a platform-device base id 2015-01-25 19:04:31 +08:00
octeon Staging: octeon: Fixed a typo 2015-01-17 15:00:23 -08:00
octeon-usb Staging: octeon-usb: Fixed a typo 2015-01-17 15:00:23 -08:00
olpc_dcon staging: olpc_dcon: fix sparse symbol not declared warning 2015-01-17 15:17:10 -08:00
ozwpan Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
panel staging: panel: replace init_timer by setup_timer 2015-02-26 13:12:40 -08:00
rtl8188eu Staging: rtl8188eu: Replace if-else block with switch-case 2015-02-26 12:56:58 -08:00
rtl8192e Staging: rtl8192e: replace memcpy() by ether_addr_copy() using coccinelle and pack variable 2015-02-26 15:12:10 -08:00
rtl8192u Staging: rtl8192: Simplifying if-else statement 2015-02-26 15:12:10 -08:00
rtl8712 staging: rtl8712: rewrite the right hand side of an assignment 2015-02-26 15:23:47 -08:00
rtl8723au staging: rtl8723au: hal: rewrite the right hand side of an assignment 2015-02-26 15:23:47 -08:00
rts5208 Staging: rts5208: Remove braces around single if-statement 2015-02-26 13:01:14 -08:00
skein staging: skein: Fixing single statement macro checkpatch warning 2015-01-17 15:05:52 -08:00
slicoss Staging: slicoss: Join split string. 2015-02-26 15:18:36 -08:00
sm7xxfb staging: sm7xxfb: fix remaining CamelCase 2015-02-07 17:37:52 +08:00
speakup Staging drivers patches for 3.20-rc1 2015-02-15 11:30:39 -08:00
ste_rmi4 Staging: ste_rmi4: add new line after declarations 2014-09-23 13:44:11 -07:00
unisys staging: unisys: Fix typo in comment 2015-02-07 17:18:38 +08:00
vme Staging: vme: devices: Use kasprintf 2014-10-27 10:33:05 +08:00
vt6655 Staging: vt6655: changed C99 // comments 2015-02-26 12:23:58 -08:00
vt6656 Staging: vt6656: replace memcpy() by ether_addr_copy() using coccinelle and pack variable 2015-02-26 12:23:58 -08:00
wlan-ng staging: wlan-ng: replace init_timer by setup_timer 2015-02-26 13:12:40 -08:00
xgifb staging: xgifb: rewrite the right hand side of an assignment 2015-02-26 15:23:46 -08:00
Kconfig Staging drivers patches for 3.20-rc1 2015-02-15 11:30:39 -08:00
Makefile Staging drivers patches for 3.20-rc1 2015-02-15 11:30:39 -08:00
staging.c