Loading drivers/media/dvb/bt8xx/dst.c +18 −14 Original line number Diff line number Diff line Loading @@ -54,13 +54,17 @@ MODULE_PARM_DESC(dst_algo, "tuning algo: default is 0=(SW), 1=(HW)"); #define dprintk(x, y, z, format, arg...) do { \ if (z) { \ if ((x > DST_ERROR) && (x > y)) \ printk(KERN_ERR "dst(%d) %s: " format "\n", state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_ERR "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ else if ((x > DST_NOTICE) && (x > y)) \ printk(KERN_NOTICE "dst(%d) %s: " format "\n", state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_NOTICE "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ else if ((x > DST_INFO) && (x > y)) \ printk(KERN_INFO "dst(%d) %s: " format "\n", state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_INFO "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ else if ((x > DST_DEBUG) && (x > y)) \ printk(KERN_DEBUG "dst(%d) %s: " format "\n",state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_DEBUG "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ } else { \ if (x > y) \ printk(format, ##arg); \ Loading Loading
drivers/media/dvb/bt8xx/dst.c +18 −14 Original line number Diff line number Diff line Loading @@ -54,13 +54,17 @@ MODULE_PARM_DESC(dst_algo, "tuning algo: default is 0=(SW), 1=(HW)"); #define dprintk(x, y, z, format, arg...) do { \ if (z) { \ if ((x > DST_ERROR) && (x > y)) \ printk(KERN_ERR "dst(%d) %s: " format "\n", state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_ERR "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ else if ((x > DST_NOTICE) && (x > y)) \ printk(KERN_NOTICE "dst(%d) %s: " format "\n", state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_NOTICE "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ else if ((x > DST_INFO) && (x > y)) \ printk(KERN_INFO "dst(%d) %s: " format "\n", state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_INFO "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ else if ((x > DST_DEBUG) && (x > y)) \ printk(KERN_DEBUG "dst(%d) %s: " format "\n",state->bt->nr, __FUNCTION__ , ##arg); \ printk(KERN_DEBUG "dst(%d) %s: " format "\n", \ state->bt->nr, __func__ , ##arg); \ } else { \ if (x > y) \ printk(format, ##arg); \ Loading