Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operations. The cases handled here are when resultant values are assigned to variables. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant c; type …
Category: Linux
Mar 04 2015
staging: rtl8723au: remove extra parentheses around right bit shift operations
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operations. The cases handled here are when resultant values are assigned to variables. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant c; type …
Mar 04 2015
staging: rtl8712: remove extra parentheses around right bit shift operation
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operation. The cases handled are when the resultant value is assigned to a variable or when a shift operation is carried out for a function argument. The issues were detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ …
Mar 04 2015
staging: rtl8192u: remove extra parentheses around right bit shift operation
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operation. The cases handled are when the resultant value is assigned to a variable or when a shift operation is carried out for a function argument. The issues were detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ …
Mar 04 2015
staging: rtl8192e: remove extra parentheses around right bit shift operation
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operation. The cases handled are when the resultant value is assigned to a variable or when a shift operation is carried out for a function argument. The issues were detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ …
Mar 04 2015
staging: rtl8188eu: remove extra parentheses around right bit shift operations
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operations. The cases handled here are when resultant values are assigned to variables. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant c; type …
Mar 04 2015
staging: media: lirc: remove extra parentheses around right bit shift operation
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operation. The case handled here is when the resultant value is assigned to a variable. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant …
Mar 04 2015
staging: media: bcm2048: remove extra parentheses around right bit shift operation
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operation. The case handled here is when the resultant value is assigned to a variable. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant …
Mar 04 2015
staging: lustre: llite: remove extra parentheses around right bit shift operation
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operation. The case handled here is when the resultant value is assigned to a variable. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant …
Mar 04 2015
staging: lustre: lclient: remove extra parentheses around right bit shift operation
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Removes extra parentheses around bitwise right shift operations. The cases handled here are when the resultant value is assigned to a variable. The issue was detected and resolved using the following coccinelle script: @@ expression e, e1; constant c; @@ e = -(e1 +e1 >> -c); +c; @@ identifier i; constant …