From: citestra <oussamamrkd2@gmail.com>
To: netdev@vger.kernel.org
Cc: citestra <oussamamrkd2@gmail.com>,
Oussama Markad <markad.oussama@gmail.com>
Subject: [PATCH net-next] drivers/net: Use priority level to printk() calls
Date: Fri, 26 Aug 2016 00:22:41 +0200 [thread overview]
Message-ID: <1472163761-14015-1-git-send-email-oussamamrkd2@gmail.com> (raw)
Add priority level 'KERN_ERR' to a printk() call
Signed-off-by: Oussama Markad <markad.oussama@gmail.com>
Signed-off-by: citestra <oussamamrkd2@gmail.com>
---
drivers/net/ethernet/amd/am79c961a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/am79c961a.c b/drivers/net/ethernet/amd/am79c961a.c
index fcdf5dd..e4aad66 100644
--- 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);
error = 1;
errorcount ++;
} else if (error && buffer[i] == val) {
--
2.7.4
next reply other threads:[~2016-08-25 22:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-25 22:22 citestra [this message]
2016-08-26 1:17 ` [PATCH net-next] drivers/net: Use priority level to printk() calls 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=1472163761-14015-1-git-send-email-oussamamrkd2@gmail.com \
--to=oussamamrkd2@gmail.com \
--cc=markad.oussama@gmail.com \
--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).