On Saturday 06 October 2007 1:10:26 am Vegard Nossum wrote:
I made it about halfway through the patch and the only compile time filtering
I found was:
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -62,7 +62,10 @@
#define MdpMinorShift 6
#define DEBUG 0
-#define dprintk(x...) ((void)(DEBUG && printk(x)))
+#define dprintk(x...) \
+ if(DEBUG) { \
+ printk(x); \
+ }
If you say it does, I'll take your word for it, but there's so much churn in
there I didn't find it before my interest ran out...
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
-