Hello all,
The following patch performs the same as Alessandro's fix to the LOG
macro, but to DBG. Please review.
Regards,
Frank
--- drivers/media/video/cpia.h.old Sat Nov 10 23:35:55 2001
+++ drivers/media/video/cpia.h Mon Sep 2 16:42:07 2002
@@ -383,7 +383,7 @@
#ifdef _CPIA_DEBUG_
#define ADBG(lineno,fmt,args...) printk(fmt, jiffies, lineno, ##args)
-#define DBG(fmt,args...) ADBG((__LINE__),KERN_DEBUG __FILE__"(%ld):"__FUNCTION__"(%d):"fmt,##args)
+#define DBG(fmt,args...) ADBG((__LINE__),KERN_DEBUG __FILE__"(%ld):%s(%d):"fmt,__FUNCTION__, ##args)
#else
#define DBG(fmn,args...) do {} while(0)
#endif