Commit 3a0a421c authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds

[PATCH] Coding style: do_this(a,b) vs. do_this(a, b)

Coding style document is not consistent with itself on whether there
should be space after ","... This makes it standardize on ", " option.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d60e29c3
......@@ -356,10 +356,10 @@ Generally, inline functions are preferable to macros resembling functions.
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment