[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <c581834f6cc56639b53af43f7e1e66a5c246dad8.1429414501.git.baruch@tkos.co.il>
Date: Sun, 19 Apr 2015 06:35:01 +0300
From: Baruch Siach <baruch@...s.co.il>
To: linux-kernel@...r.kernel.org, Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, Baruch Siach <baruch@...s.co.il>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] Documentation/CodingStyle: fix example macro parenthesis imbalance
Cc: Bartosz Golaszewski <bgolaszewski@...libre.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Fixes: f2027543b9 ('documentation: update CodingStyle on local variables naming in macros')
Signed-off-by: Baruch Siach <baruch@...s.co.il>
---
Documentation/CodingStyle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists