From: Thomas Gardner Date: Mon, 25 Jan 2016 05:54:39 +0000 (+1000) Subject: Documentation/CodingStyle: add space before parenthesis in example macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32fd52d56b3d223c567e17727f30cd6286f8f716;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Documentation/CodingStyle: add space before parenthesis in example macro Signed-off-by: Thomas Gardner Signed-off-by: Jonathan Corbet --- 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.