From: Mauro Carvalho Chehab Date: Wed, 13 May 2015 17:09:25 +0000 (-0300) Subject: [media] saa7134: avoid complex macro warnings X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~354 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45f38cb3b80311ade3c87000f7d7a8f6ebd60a43;p=pandora-kernel.git [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 --- Reading git-diff-tree failed