aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorThomas Gardner <tmg@fastmail.com>2016-01-25 00:54:39 -0500
committerJonathan Corbet <corbet@lwn.net>2016-01-25 14:36:28 -0500
commit32fd52d56b3d223c567e17727f30cd6286f8f716 (patch)
tree944c06ec773c95f9bb66456e3ae4f6407ea3b16c /Documentation/CodingStyle
parent6ac9937c976443743962cfe7b6893163adadbda5 (diff)
Documentation/CodingStyle: add space before parenthesis in example macro
Signed-off-by: Thomas Gardner <tmg@fastmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/CodingStyle')
-rw-r--r--Documentation/CodingStyle2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index db653774c0b7..9a70ddd16584 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -640,7 +640,7 @@ Things to avoid when using macros:
640 do { \ 640 do { \
641 if (blah(x) < 0) \ 641 if (blah(x) < 0) \
642 return -EBUGGERED; \ 642 return -EBUGGERED; \
643 } while(0) 643 } while (0)
644 644
645is a _very_ bad idea. It looks like a function call but exits the "calling" 645is a _very_ bad idea. It looks like a function call but exits the "calling"
646function; don't break the internal parsers of those who will read the code. 646function; don't break the internal parsers of those who will read the code.