From: Scott Feldman <scofeldm@cisco.com>
To: Joe Perches <joe@perches.com>
Cc: netdev <netdev@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [net-next PATCH] drivers/net/enic: Use (pr|netdev)_<level> macro helpers
Date: Thu, 03 Jun 2010 00:19:53 -0700 [thread overview]
Message-ID: <C82CA5A9.3677A%scofeldm@cisco.com> (raw)
In-Reply-To: <1275492616.2489.20.camel@Joe-Laptop.home>
On 6/2/10 8:30 AM, "Joe Perches" <joe@perches.com> wrote:
> Compile tested only
>
> Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> Remove #define PFX
> Use pr_<level>
> Use netdev_<level>
> Remove trailing periods from most formats
>
> Signed-off-by: Joe Perches <joe@perches.com>
Thanks Joe. I tested it and there are a couple places before the netdev is
registered where we need dev_<level> rather than netdev_<level>, otherwise
we get output like:
enic 0000:08:00.0: (unregistered net_device): vNIC MAC addr
00:25:b5:19:35:8f wq/rq 256/512
I like the dev_name(dev) in there but not the "(unregister net_device)".
Also there where a couple of lines longer than 80 chars.
We can fix up the patch and resubmit if you like.
-scott
next prev parent reply other threads:[~2010-06-03 7:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 15:30 [net-next PATCH] drivers/net/enic: Use (pr|netdev)_<level> macro helpers Joe Perches
2010-06-03 7:19 ` Scott Feldman [this message]
2010-06-03 15:11 ` Joe Perches
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=C82CA5A9.3677A%scofeldm@cisco.com \
--to=scofeldm@cisco.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).