aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>2011-12-12 02:22:19 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-13 19:22:17 -0500
commitc1f7d3114454f5ae2211e7ea872397071fb296f2 (patch)
tree9a7538d568ce44562b161566fd828b9f739eaca7
parent080688400cd1ec9f5f5e3776449a0718abfb314d (diff)
Staging: comedi: fix printk issue in jr3_pci.c
This is a patch to the jr3_pci.c file that fixes up a printk warning found by the checkpatch.pl tool. Added KERN_facility levels for printks. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/comedi/drivers/jr3_pci.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/staging/comedi/drivers/jr3_pci.c b/drivers/staging/comedi/drivers/jr3_pci.c
index 56f7e26ac8ca..cda67a033797 100644
--- a/drivers/staging/comedi/drivers/jr3_pci.c
+++ b/drivers/staging/comedi/drivers/jr3_pci.c
@@ -593,24 +593,24 @@ static struct poll_delay_t jr3_pci_poll_subdevice(struct comedi_subdevice *s)
593 min_full_scale = 593 min_full_scale =
594 get_min_full_scales(channel); 594 get_min_full_scales(channel);
595 printk("Obtained Min. Full Scales:\n"); 595 printk("Obtained Min. Full Scales:\n");
596 printk("%i ", (min_full_scale).fx); 596 printk(KERN_DEBUG "%i ", (min_full_scale).fx);
597 printk("%i ", (min_full_scale).fy); 597 printk(KERN_CONT "%i ", (min_full_scale).fy);
598 printk("%i ", (min_full_scale).fz); 598 printk(KERN_CONT "%i ", (min_full_scale).fz);
599 printk("%i ", (min_full_scale).mx); 599 printk(KERN_CONT "%i ", (min_full_scale).mx);
600 printk("%i ", (min_full_scale).my); 600 printk(KERN_CONT "%i ", (min_full_scale).my);
601 printk("%i ", (min_full_scale).mz); 601 printk(KERN_CONT "%i ", (min_full_scale).mz);
602 printk("\n"); 602 printk(KERN_CONT "\n");
603 603
604 max_full_scale = 604 max_full_scale =
605 get_max_full_scales(channel); 605 get_max_full_scales(channel);
606 printk("Obtained Max. Full Scales:\n"); 606 printk("Obtained Max. Full Scales:\n");
607 printk("%i ", (max_full_scale).fx); 607 printk(KERN_DEBUG "%i ", (max_full_scale).fx);
608 printk("%i ", (max_full_scale).fy); 608 printk(KERN_CONT "%i ", (max_full_scale).fy);
609 printk("%i ", (max_full_scale).fz); 609 printk(KERN_CONT "%i ", (max_full_scale).fz);
610 printk("%i ", (max_full_scale).mx); 610 printk(KERN_CONT "%i ", (max_full_scale).mx);
611 printk("%i ", (max_full_scale).my); 611 printk(KERN_CONT "%i ", (max_full_scale).my);
612 printk("%i ", (max_full_scale).mz); 612 printk(KERN_CONT "%i ", (max_full_scale).mz);
613 printk("\n"); 613 printk(KERN_CONT "\n");
614 614
615 set_full_scales(channel, 615 set_full_scales(channel,
616 max_full_scale); 616 max_full_scale);