Coding style document is not consistent with itself on whether there
should be space after ","... This makes it standardize on ", " option.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Macros with multiple statements should be enclosed in a do - while block:
-#define macrofun(a,b,c) \
+#define macrofun(a, b, c) \
do { \
if (a == 5) \
- do_this(b,c); \
+ do_this(b, c); \
} while (0)
Things to avoid when using macros: