rewrite the right hand side of an assignment
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest24 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/24] rewrite the right hand side of an assignment
This patchset is concerned with rewriting the right hand side of an assignment for expressions of the form:
a = (a <op> b);
to be:
a <op>= b;
where <op> = << | >>.
The set resolves the issue in the following staging drivers:
comediemxx_udc
iio
lustre
media/davinci_vpfe
rtl8188eu
rtl8192e
rtl8192u
rtl8712
rtl8723au
xgifb
The 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;
Aya Mahfouz (24):
staging: xgifb: rewrite the right hand of an assignment
staging: rtl8723au: rewrite the right hand of an assignment
staging: rtl8723au: hal: rewrite the right hand of an assignment
staging: rtl8723au: hal: rewrite the right hand of an assignment
staging: rtl8723au: hal: rewrite the right hand of an assignment
staging: rtl8712: rewrite the right hand of an assignment
staging: rtl8712: rewrite the right hand of an assignment
staging: rtl8712: rewrite the right hand of an assignment
staging: rtl8712: rewrite the right hand of an assignment
staging: rtl8192u: rewrite the right hand of an assignment
staging: rtl8192u: rewrite the right hand side of an assignment
staging: rtl8192e: rewrite the right hand side of an assignment
staging: rtl8192e: rewrite the right hand side of an assignment
staging: rtl8188eu: rewrite the right hand side of an assignment
staging: rtl8188eu: rewrite the right hand side of an assignment
staging: rtl8188eu: rewrite the right hand side of an assignment
staging: rtl8188eu: rewrite the right hand side of an assignment
staging: davinci_vpfe: rewrite the right hand side of an assignment
staging: lustre: lov: rewrite the right hand side of an assignment
staging: lustre: lmv: rewrite the right hand side of an assignment
staging: lustre: libcfs: rewrite the right hand side of an assignment
staging: iio: Documentation: rewrite the right hand side of an
assignment
staging: emxx_udc: rewrite the right hand side of an assignment
staging: comedi: rewrite the right hand side of an assignment
drivers/staging/comedi/drivers/rtd520.c | 4 +- drivers/staging/emxx_udc/emxx_udc.c | 4 +- drivers/staging/iio/Documentation/generic_buffer.c | 2 +- drivers/staging/lustre/lustre/libcfs/debug.c | 2 +- drivers/staging/lustre/lustre/lmv/lmv_obd.c | 2 +- drivers/staging/lustre/lustre/lov/lov_obd.c | 2 +- drivers/staging/media/davinci_vpfe/dm365_ipipeif.c | 2 +- drivers/staging/rtl8188eu/core/rtw_security.c | 4 +- .../staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 2 +- drivers/staging/rtl8188eu/hal/rf_cfg.c | 4 +- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 4 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 4 +- drivers/staging/rtl8712/rtl8712_cmd.c | 2 +- drivers/staging/rtl8712/rtl8712_recv.c | 10 +- drivers/staging/rtl8712/rtl871x_eeprom.c | 4 +- drivers/staging/rtl8712/rtl871x_security.c | 4 +- drivers/staging/rtl8723au/hal/HalHWImg8723A_BB.c | 4 +- drivers/staging/rtl8723au/hal/HalHWImg8723A_MAC.c | 4 +- drivers/staging/rtl8723au/hal/HalHWImg8723A_RF.c | 4 +- drivers/staging/rtl8723au/hal/hal_com.c | 2 +- drivers/staging/xgifb/vb_setmode.c | 140 ++++++++++----------- 24 files changed, 108 insertions(+), 108 deletions(-)
Signature · 6 lines
1.9.3 -- Kind Regards, Aya Saif El-yazal Mahfouz