[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E8A457F.5050106@gmail.com>
Date: Tue, 04 Oct 2011 10:30:07 +1100
From: Ryan Mallon <rmallon@...il.com>
To: Ravishankar Karkala Mallikarjunayya
<ravishankar.km@...enturtles.in>
CC: gregkh@...e.de, wfp5p@...ginia.edu, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/9] Staging: comedi: fix printk issue in cb_pcidas.c
On 30/09/11 23:18, Ravishankar Karkala Mallikarjunayya wrote:
> This is a patch to the cb_pcidas.c file that fixes up a printk warning found by the checkpatch.pl tool
>
> Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@...enturtles.in>
> ---
> drivers/staging/comedi/drivers/cb_pcidas.c | 21 +++++++++++++--------
> 1 files changed, 13 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/cb_pcidas.c b/drivers/staging/comedi/drivers/cb_pcidas.c
> index 9dec153..9d16c6c 100644
> --- a/drivers/staging/comedi/drivers/cb_pcidas.c
> +++ b/drivers/staging/comedi/drivers/cb_pcidas.c
> @@ -565,7 +565,8 @@ static int cb_pcidas_attach(struct comedi_device *dev,
> int index;
> int i;
>
> - pr_info("comedi%d: cb_pcidas: ", dev->minor);
> + dev_info(&pcidev->dev, "comedi%d: cb_pcidas:\n",
> + dev->minor);
This printk can probably be removed now. It's just noise. Similar in
other places too.
~Ryan
--
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