[PATCH] 2.5.33 : drivers/media/video/cpia.h DBG marco

From: Frank Davis (fdavis@si.rr.com)
Date: Mon Sep 02 2002 - 15:47:07 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:16 EST