From: Greg KH <greg@kroah.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 1/2] drivers/staging/vt6656/iwctl.c: Change PRINT_K and
Date: Sun, 27 Nov 2011 01:58:22 +0000 [thread overview]
Message-ID: <20111127015822.GE27297@kroah.com> (raw)
In-Reply-To: <1320871033-2672-1-git-send-email-marcos.mage@gmail.com>
On Wed, Nov 09, 2011 at 06:37:13PM -0200, Marcos Paulo de Souza wrote:
> As asked in the TODO file of this driver, the PRINTK and DBG_PRT macros
> must be removed. The debug messages was improved too.
>
> Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
> ---
> drivers/staging/vt6656/iwctl.c | 135 ++++++++++++++++++++--------------------
> 1 files changed, 67 insertions(+), 68 deletions(-)
>
> diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c
> index 2121205..8c1ca49 100644
> --- a/drivers/staging/vt6656/iwctl.c
> +++ b/drivers/staging/vt6656/iwctl.c
> @@ -68,7 +68,6 @@ static const long frequency_list[] = {
>
>
> //static int msglevel =MSG_LEVEL_DEBUG;
> -static int msglevel =MSG_LEVEL_INFO;
>
>
> /*--------------------- Static Variables --------------------------*/
> @@ -110,7 +109,7 @@ static int iwctl_commit(struct net_device *dev,
> void *wrq,
> char *extra)
> {
> - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " SIOCSIWCOMMIT\n");
> + pr_debug(" SIOCSIWCOMMIT\n");
Stuff like this isn't even needed anymore.
And again, please use dev_dbg(), not pr_debug().
thanks,
greg k-h
prev parent reply other threads:[~2011-11-27 1:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 20:37 [PATCH 1/2] drivers/staging/vt6656/iwctl.c: Change PRINT_K and DBG_PRT macros for pr_debug Marcos Paulo de Souza
2011-11-27 1:58 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111127015822.GE27297@kroah.com \
--to=greg@kroah.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.