This is a patch to the cb_pcidda.c file that fixes up a brace warning found by the checkpatch.pl tool. Added KERN_facitity levels for printks. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@xxxxxxxxxxxxxxx> --- drivers/staging/comedi/drivers/cb_pcidda.c | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/comedi/drivers/cb_pcidda.c b/drivers/staging/comedi/drivers/cb_pcidda.c index abba220..853d461 100644 --- a/drivers/staging/comedi/drivers/cb_pcidda.c +++ b/drivers/staging/comedi/drivers/cb_pcidda.c @@ -423,19 +423,19 @@ static int cb_pcidda_detach(struct comedi_device *dev) static int cb_pcidda_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) { - printk("cb_pcidda_ai_cmd\n"); - printk("subdev: %d\n", cmd->subdev); - printk("flags: %d\n", cmd->flags); - printk("start_src: %d\n", cmd->start_src); - printk("start_arg: %d\n", cmd->start_arg); - printk("scan_begin_src: %d\n", cmd->scan_begin_src); - printk("convert_src: %d\n", cmd->convert_src); - printk("convert_arg: %d\n", cmd->convert_arg); - printk("scan_end_src: %d\n", cmd->scan_end_src); - printk("scan_end_arg: %d\n", cmd->scan_end_arg); - printk("stop_src: %d\n", cmd->stop_src); - printk("stop_arg: %d\n", cmd->stop_arg); - printk("chanlist_len: %d\n", cmd->chanlist_len); + printk(KERN_DEBUG "cb_pcidda_ai_cmd\n"); + printk(KERN_DEBUG "subdev: %d\n", cmd->subdev); + printk(KERN_DEBUG "flags: %d\n", cmd->flags); + printk(KERN_DEBUG "start_src: %d\n", cmd->start_src); + printk(KERN_DEBUG "start_arg: %d\n", cmd->start_arg); + printk(KERN_DEBUG "scan_begin_src: %d\n", cmd->scan_begin_src); + printk(KERN_DEBUG "convert_src: %d\n", cmd->convert_src); + printk(KERN_DEBUG "convert_arg: %d\n", cmd->convert_arg); + printk(KERN_DEBUG "scan_end_src: %d\n", cmd->scan_end_src); + printk(KERN_DEBUG "scan_end_arg: %d\n", cmd->scan_end_arg); + printk(KERN_DEBUG "stop_src: %d\n", cmd->stop_src); + printk(KERN_DEBUG "stop_arg: %d\n", cmd->stop_arg); + printk(KERN_DEBUG "chanlist_len: %d\n", cmd->chanlist_len); } #endif -- 1.7.0.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel