diff options
author | Thomas Gardner <tmg@fastmail.com> | 2016-01-25 15:54:39 +1000 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-01-25 12:36:28 -0700 |
commit | 32fd52d56b3d223c567e17727f30cd6286f8f716 (patch) | |
tree | 944c06ec773c95f9bb66456e3ae4f6407ea3b16c /Documentation/CodingStyle | |
parent | 6ac9937c976443743962cfe7b6893163adadbda5 (diff) | |
download | linux-32fd52d56b3d223c567e17727f30cd6286f8f716.tar.gz linux-32fd52d56b3d223c567e17727f30cd6286f8f716.tar.bz2 linux-32fd52d56b3d223c567e17727f30cd6286f8f716.zip |
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: 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. |