diff options
author | Thomas Gardner <tmg@fastmail.com> | 2016-01-25 00:54:39 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-01-25 14:36:28 -0500 |
commit | 32fd52d56b3d223c567e17727f30cd6286f8f716 (patch) | |
tree | 944c06ec773c95f9bb66456e3ae4f6407ea3b16c /Documentation/CodingStyle | |
parent | 6ac9937c976443743962cfe7b6893163adadbda5 (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/CodingStyle | 2 |
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 | ||
645 | is a _very_ bad idea. It looks like a function call but exits the "calling" | 645 | is a _very_ bad idea. It looks like a function call but exits the "calling" |
646 | function; don't break the internal parsers of those who will read the code. | 646 | function; don't break the internal parsers of those who will read the code. |