Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9ce4fa3 authored by Andreas Frembs's avatar Andreas Frembs Committed by Greg Kroah-Hartman
Browse files

Staging rtl8192e: Fixing checkpatch error in rtllib_debug.h



In rtllib_debug.h we fixed the following checkpatch error:
	ERROR: Macros with complex values should be enclosed in parenthesis

We fixed this with a do {} while (0), because otherwise the compiler complained.

Signed-off-by: default avatarAndreas Frembs <andreas.frembs@studium.uni-erlangen.de>
Signed-off-by: default avatarMatthias Schoepe <matthias.schoepe@studium.uni-erlangen.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b93ae9e5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -78,9 +78,11 @@ do { \
} while (0);

#define assert(expr) \
do {	\
	if (!(expr)) {				  \
		printk(KERN_INFO "Assertion failed! %s,%s,%s,line=%d\n", \
		#expr, __FILE__, __func__, __LINE__);	  \
	}
	}	\
} while (0);

#endif