提交 32fd52d5 编写于 作者: T Thomas Gardner 提交者: Jonathan Corbet

Documentation/CodingStyle: add space before parenthesis in example macro

Signed-off-by: NThomas Gardner <tmg@fastmail.com>
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 6ac9937c
......@@ -640,7 +640,7 @@ Things to avoid when using macros:
do { \
if (blah(x) < 0) \
return -EBUGGERED; \
} while(0)
} while (0)
is a _very_ bad idea. It looks like a function call but exits the "calling"
function; don't break the internal parsers of those who will read the code.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册