Commit 05be989d authored by Chetan Sethi's avatar Chetan Sethi Committed by Greg Kroah-Hartman

staging: ks7010: fix coding style issue of enclosing complex macro value in parentheses

This patch fixes error of enclosing complex macro value in parentheses,
error as issued by checkpatch
Signed-off-by: default avatarChetan Sethi <cpsethi369@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 01d9de80
...@@ -36,8 +36,10 @@ ...@@ -36,8 +36,10 @@
#ifdef KS_WLAN_DEBUG #ifdef KS_WLAN_DEBUG
#define DPRINTK(n, fmt, args...) \ #define DPRINTK(n, fmt, args...) \
if (KS_WLAN_DEBUG > (n)) \ do { \
printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args) if (KS_WLAN_DEBUG > (n)) \
printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args); \
} while (0)
#else #else
#define DPRINTK(n, fmt, args...) #define DPRINTK(n, fmt, args...)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment