mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
committed by
Jonathan Corbet
parent
de88d8becb
commit
df1027abde
@@ -670,7 +670,7 @@ functions:
|
|||||||
typeof(x) ret; \
|
typeof(x) ret; \
|
||||||
ret = calc_ret(x); \
|
ret = calc_ret(x); \
|
||||||
(ret); \
|
(ret); \
|
||||||
)}
|
})
|
||||||
|
|
||||||
ret is a common name for a local variable - __foo_ret is less likely
|
ret is a common name for a local variable - __foo_ret is less likely
|
||||||
to collide with an existing variable.
|
to collide with an existing variable.
|
||||||
|
Reference in New Issue
Block a user