[linux-dvb] md2060 -- tiny patch in debug output
Sergei Haller
Sergei.Haller at math.uni-giessen.de
Mon Apr 24 17:36:36 CEST 2006
Hi,
if debug output is disabled in that driver, the driver will still produce
many empty lines in the syslog (~15k empty lines in the last couple of
days)
the patch is against http://linuxtv.org/hg/~pb/v4l-dvb.stk3000p
Sergei.
-------------- next part --------------
--- mt2060.c.orig 2006-04-25 00:22:11.000000000 +1000
+++ mt2060.c 2006-04-25 00:22:15.000000000 +1000
@@ -34,7 +34,7 @@
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");
-#define dprintk(args...) do { if (debug) printk(KERN_DEBUG "MT2060: " args); printk("\n"); } while (0)
+#define dprintk(args...) do { if (debug) {printk(KERN_DEBUG "MT2060: " args); printk("\n");} } while (0)
// Reads a single register
static int mt2060_readreg(struct mt2060_state *state, u8 reg, u8 *val)
More information about the linux-dvb
mailing list