On 23/02/16 00:37, Joe Perches wrote:
On Tue, 2016-02-23 at 00:38 +0100, Philippe Loctaux wrote:
Added spaces around | and *, fixing 2 checkpatch checks.
[]
diff --git a/drivers/staging/comedi/drivers/mite.c 
b/drivers/staging/comedi/drivers/mite.c
[]
@@ -51,7 +51,7 @@

  #include "mite.h"

-#define TOP_OF_PAGE(x) ((x)|(~(PAGE_MASK)))
+#define TOP_OF_PAGE(x) ((x) | (~(PAGE_MASK)))

It'd be nice to remove superfluous parentheses here too

+#define TOP_OF_PAGE(x) ((x) | ~PAGE_MASK)


Even better: just remove the macro, as it isn't used.

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbo...@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to