Messages in this thread Patch in this message | | | From | Baruch Siach <> | Subject | [PATCH] Documentation/CodingStyle: fix example macro parenthesis imbalance | Date | Sun, 19 Apr 2015 06:35:01 +0300 |
| |
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> --- 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
| |