projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de88d8b
)
Documentation/CodingStyle: fix example macro parenthesis imbalance
author
Baruch Siach
<baruch@tkos.co.il>
Sun, 19 Apr 2015 03:35:01 +0000
(06:35 +0300)
committer
Jonathan Corbet
<corbet@lwn.net>
Thu, 7 May 2015 23:07:41 +0000
(17:07 -0600)
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>
Documentation/CodingStyle
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/CodingStyle
b/Documentation/CodingStyle
index f4b78eafd92a2e76e439f168fff97e1d41374b59..b713c35f85436316f79f2520436c02297c2e10e1 100644
(file)
--- 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.