[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110718172351.GC4010@shale.localdomain>
Date: Mon, 18 Jul 2011 20:23:51 +0300
From: Dan Carpenter <error27@...il.com>
To: Ravishankar <ravishankarkm32@...il.com>
Cc: gregkh@...e.de, wfp5p@...ginia.edu, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org,
Ravishankar <ravi.shankar@...enturtles.in>
Subject: Re: [PATCH 1/2] Staging: comedi: fix printk() issue in adv_pci1710.c
On Mon, Jul 18, 2011 at 07:03:29PM +0530, Ravishankar wrote:
> --- a/drivers/staging/comedi/drivers/adv_pci1710.c
> +++ b/drivers/staging/comedi/drivers/adv_pci1710.c
> @@ -1396,14 +1396,14 @@ static int pci1710_attach(struct comedi_device *dev,
> int i;
> int board_index;
>
> - printk("comedi%d: adv_pci1710: ", dev->minor);
> + printk(KERN_INFO "comedi%d: adv_pci1710: ", dev->minor);
>
> opt_bus = it->options[0];
> opt_slot = it->options[1];
>
> ret = alloc_private(dev, sizeof(struct pci1710_private));
> if (ret < 0) {
> - printk(" - Allocation failed!\n");
> + printk(KERN_INFO " - Allocation failed!\n");
This is on the same line as the previous printk() so KERN_INFO isn't
correct.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists