Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thomas Gardner and committed by
Jonathan Corbet
32fd52d5 6ac9937c

+1 -1
+1 -1
Documentation/CodingStyle
··· 640 640 do { \ 641 641 if (blah(x) < 0) \ 642 642 return -EBUGGERED; \ 643 - } while(0) 643 + } while (0) 644 644 645 645 is a _very_ bad idea. It looks like a function call but exits the "calling" 646 646 function; don't break the internal parsers of those who will read the code.