diff options
| author | 2015-05-13 14:09:25 -0300 | |
|---|---|---|
| committer | 2015-05-13 14:12:05 -0300 | |
| commit | 45f38cb3b80311ade3c87000f7d7a8f6ebd60a43 (patch) | |
| tree | 002524371b81008a600eaabb17c39e477ba385dd /tools/lib/python/kdoc/python_version.py | |
| parent | [media] saa7134: replace remaining occurences or printk() (diff) | |
[media] saa7134: avoid complex macro warnings
The debug macros are not properly defined, as they generate warnings
like:
ERROR: Macros with complex values should be enclosed in parentheses
+#define core_dbg(fmt, arg...) if (core_debug) \
+ printk(KERN_DEBUG pr_fmt("core: " fmt), ## arg)
Use do { } while (0) for those macros.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
