patch-2.1.104 linux/include/linux/arcdevice.h
Next file: linux/include/linux/coda.h
Previous file: linux/include/asm-sparc64/firehose.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu May 21 13:45:02 1998
- Orig file:
v2.1.103/linux/include/linux/arcdevice.h
- Orig date:
Wed May 20 19:10:41 1998
diff -u --recursive --new-file v2.1.103/linux/include/linux/arcdevice.h linux/include/linux/arcdevice.h
@@ -113,12 +113,12 @@
/* macros to simplify debug checking */
#define BUGLVL(x) if ((ARCNET_DEBUG_MAX)&arcnet_debug&(x))
-#define BUGMSG2(x,msg,args...) BUGLVL(x) printk(msg, ## args)
-#define BUGMSG(x,msg,args...) do { \
+#define BUGMSG2(x,msg,args...) do { BUGLVL(x) printk(msg, ## args); } while (0)
+#define BUGMSG(x,msg,args...) \
BUGMSG2(x,"%s%6s: " msg, \
x==D_NORMAL ? KERN_WARNING : \
x<=D_INIT_REASONS ? KERN_INFO : KERN_DEBUG , \
- dev->name , ## args); } while (0)
+ dev->name , ## args)
#define SETMASK AINTMASK(lp->intmask)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov