summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtllib_debug.h
diff options
context:
space:
mode:
authorAndreas Frembs2014-01-05 13:25:37 +0100
committerGreg Kroah-Hartman2014-01-09 19:32:18 +0100
commit41ad3d5fdeb52d9b8cef7d6b1cc47ee853b7fa6b (patch)
treed2f9dbc950786a81d62386a2a860e9e7a9e25b5d /drivers/staging/rtl8192e/rtllib_debug.h
parentStaging rtl8192e: Fixing checkpatch error in rtllib_debug.h (diff)
downloadkernel-qcow2-linux-41ad3d5fdeb52d9b8cef7d6b1cc47ee853b7fa6b.tar.gz
kernel-qcow2-linux-41ad3d5fdeb52d9b8cef7d6b1cc47ee853b7fa6b.tar.xz
kernel-qcow2-linux-41ad3d5fdeb52d9b8cef7d6b1cc47ee853b7fa6b.zip
Staging rtl8192e: Correcting wrong usage of macro in r8192E_phy.c and removing corresponding warning in rtllib_debug.h
We fixed in rtllib_debug.h the following checkpatch warning: WARNING: do {} while (0) macros should not be semicolon terminated. After deleting this semicolon we also had to fix the wrong use of this macro in rtl8192e/r8192E_phy.c Signed-off-by: Andreas Frembs <andreas.frembs@studium.uni-erlangen.de> Signed-off-by: Matthias Schoepe <matthias.schoepe@studium.uni-erlangen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_debug.h')
-rw-r--r--drivers/staging/rtl8192e/rtllib_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_debug.h b/drivers/staging/rtl8192e/rtllib_debug.h
index 31f616fdb5bf..7537dae89a75 100644
--- a/drivers/staging/rtl8192e/rtllib_debug.h
+++ b/drivers/staging/rtl8192e/rtllib_debug.h
@@ -75,7 +75,7 @@ do { \
if (rt_global_debug_component & component) \
printk(KERN_DEBUG DRV_NAME ":" x "\n" , \
##args);\
-} while (0);
+} while (0)
#define assert(expr) \
do { \