linux-stable/drivers/staging/slicoss
Aya Mahfouz a659b3e807 staging: slicoss: remove extra parentheses around right bit shift operations
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 t;
expression e;
@@

t i =
-(e
+e
>>
-c);
+c;

@@
expression e, e1;
identifier f;
constant c;
@@

e1 = f(...,
-(e
+e
>>
-c)
+c
,...);

Some coding style issues were handled manually to avoid
checkpatch warnings and errors.

Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-06 15:22:43 -08:00
..
Kconfig
Makefile
README staging: slicoss: Add MAINTAINERS entry, break README into TODO & README 2014-02-11 12:37:27 -08:00
slic.h staging: slicoss: remove private netdev list 2014-05-25 10:59:53 -07:00
slichw.h
slicoss.c staging: slicoss: remove extra parentheses around right bit shift operations 2015-03-06 15:22:43 -08:00
TODO staging: slicoss: remove gratuitous debug infrastructure 2014-05-23 20:08:33 +09:00

This driver is supposed to support:

	Mojave cards (single port PCI Gigabit) both copper and fiber
	Oasis cards (single and dual port PCI-x Gigabit) copper and fiber
	Kalahari cards (dual and quad port PCI-e Gigabit) copper and fiber

The driver was actually tested on Oasis and Kalahari cards.