From: Veaceslav Falico <vfalico@gmail.com>
To: netdev@vger.kernel.org
Cc: Veaceslav Falico <vfalico@gmail.com>,
Jay Vosburgh <j.vosburgh@gmail.com>,
Andy Gospodarek <andy@greyhouse.net>
Subject: [PATCH net-next 07/12] bonding: convert bond_debugfs.c to use netdev_printk instead of pr_
Date: Tue, 15 Jul 2014 19:36:04 +0200 [thread overview]
Message-ID: <1405445769-15394-8-git-send-email-vfalico@gmail.com> (raw)
In-Reply-To: <1405445769-15394-1-git-send-email-vfalico@gmail.com>
One occurance left intact as it's unrelated to net_device.
CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@gmail.com>
---
drivers/net/bonding/bond_debugfs.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/bonding/bond_debugfs.c b/drivers/net/bonding/bond_debugfs.c
index 658e761..280971b 100644
--- a/drivers/net/bonding/bond_debugfs.c
+++ b/drivers/net/bonding/bond_debugfs.c
@@ -69,8 +69,7 @@ void bond_debug_register(struct bonding *bond)
debugfs_create_dir(bond->dev->name, bonding_debug_root);
if (!bond->debug_dir) {
- pr_warn("%s: Warning: failed to register to debugfs\n",
- bond->dev->name);
+ netdev_warn(bond->dev, "failed to register to debugfs\n");
return;
}
@@ -98,8 +97,7 @@ void bond_debug_reregister(struct bonding *bond)
if (d) {
bond->debug_dir = d;
} else {
- pr_warn("%s: Warning: failed to reregister, so just unregister old one\n",
- bond->dev->name);
+ netdev_warn(bond->dev, "failed to reregister, so just unregister old one\n");
bond_debug_unregister(bond);
}
}
--
1.8.4
next prev parent reply other threads:[~2014-07-15 17:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 17:35 [PATCH net-next 00/12] bonding: convert pr_* to netdev_* Veaceslav Falico
2014-07-15 17:35 ` [PATCH net-next 01/12] bonding: convert bond_main.c to use netdev_printk instead of pr_ Veaceslav Falico
2014-07-15 17:35 ` [PATCH net-next 02/12] bonding: remove pr_fmt from bond_main.c Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 03/12] bonding: convert bond_3ad.c to use netdev_printk instead of pr_ Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 04/12] bonding: remove pr_fmt from bond_3ad.c Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 05/12] bonding: convert bond_alb.c to use netdev_printk instead of pr_ Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 06/12] bonding: remove pr_fmt from bond_alb.c Veaceslav Falico
2014-07-15 17:36 ` Veaceslav Falico [this message]
2014-07-15 17:36 ` [PATCH net-next 08/12] bonding: convert bond_netlink.c to use netdev_printk instead of pr_ Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 09/12] bonding: bonding: remove pr_fmt from bond_netlink.c Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 10/12] bonding: convert bond_procfs.c to use netdev_printk instead of pr_ Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 11/12] bonding: convert bond_options.c " Veaceslav Falico
2014-07-15 17:36 ` [PATCH net-next 12/12] bonding: remove pr_fmt from bond_options.c Veaceslav Falico
2014-07-15 18:07 ` [PATCH net-next 00/12] bonding: convert pr_* to netdev_* Veaceslav Falico
2014-07-16 6:17 ` David Miller
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=1405445769-15394-8-git-send-email-vfalico@gmail.com \
--to=vfalico@gmail.com \
--cc=andy@greyhouse.net \
--cc=j.vosburgh@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).