From: Joe Perches <joe@perches.com>
To: citestra <oussamamrkd2@gmail.com>, netdev@vger.kernel.org
Cc: Oussama Markad <markad.oussama@gmail.com>
Subject: Re: [PATCH net-next] drivers/net: Use priority level to printk() calls
Date: Thu, 25 Aug 2016 18:17:57 -0700 [thread overview]
Message-ID: <1472174277.4914.36.camel@perches.com> (raw)
In-Reply-To: <1472163761-14015-1-git-send-email-oussamamrkd2@gmail.com>
On Fri, 2016-08-26 at 00:22 +0200, citestra wrote:
> Add priority level 'KERN_ERR' to a printk() call
[]
> diff --git a/drivers/net/ethernet/amd/am79c961a.c b/drivers/net/ethernet/amd/am79c961a.c
[]
> @@ -182,7 +182,7 @@ am79c961_ramtest(struct net_device *dev, unsigned int val)
> am_readbuffer(dev, 0, buffer, 65536);
> for (i = 0; i < 65536; i++) {
> if (buffer[i] != val && !error) {
> - printk ("%s: buffer error (%02X %02X) %05X - ", dev->name, val, buffer[i], i);
> + printk (KERN_ERR "%s: buffer error (%02X %02X) %05X - ", dev->name, val, buffer[i], i);
netdev_err(dev, "buffer error etc...", val, ...)
prev parent reply other threads:[~2016-08-26 1:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-25 22:22 [PATCH net-next] drivers/net: Use priority level to printk() calls citestra
2016-08-26 1:17 ` Joe Perches [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=1472174277.4914.36.camel@perches.com \
--to=joe@perches.com \
--cc=markad.oussama@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oussamamrkd2@gmail.com \
/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).