summaryrefslogtreecommitdiffstats
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-04-19 05:35:01 +0200
committerJonathan Corbet <corbet@lwn.net>2015-05-08 01:07:41 +0200
commitdf1027abde561f6e7577bc3278f84707de583c89 (patch)
tree3ae5fcf4b197658e806531e083ad444d9c0eed46 /Documentation/CodingStyle
parentfirmware: Update information in linux.git about adding firmware (diff)
downloadlinux-df1027abde561f6e7577bc3278f84707de583c89.tar.xz
linux-df1027abde561f6e7577bc3278f84707de583c89.zip
Documentation/CodingStyle: fix example macro parenthesis imbalance
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com> Cc: Andrew Morton <akpm@linux-foundation.org> Fixes: f2027543b9 ('documentation: update CodingStyle on local variables naming in macros') Signed-off-by: Baruch Siach <baruch@tkos.co.il> 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 f4b78eafd92a..b713c35f8543 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -670,7 +670,7 @@ functions:
typeof(x) ret; \
ret = calc_ret(x); \
(ret); \
-)}
+})
ret is a common name for a local variable - __foo_ret is less likely
to collide with an existing variable.