[PATCH] Staging: comedi: fix printk issue in pcl818.c
joe at perches.com
Tue Aug 2 23:10:53 PDT 2011
On Wed, 2011-08-03 at 10:54 +0530, Ravishankar wrote:
> From: Ravishankar <ravi.shankar at greenturtles.in>
> This is a patch to the pcl818.c file that fixes up a printk warning found by the checkpatch.pl tool
This patch does a lot more than fix a printk warning.
Please make your patch descriptions match your patch.
> drivers/staging/comedi/drivers/pcl818.c | 118 +++++++++++++++----------------
> @@ -1461,7 +1452,7 @@ static int ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
> struct comedi_cmd *cmd = &s->async->cmd;
> int retval;
> - printk("pcl818_ai_cmd()\n");
> + dev_dbg(dev->hw_dev "pcl818_ai_cmd()\n");
Compile your patches _before_ sending them.
More information about the devel