From: Hank Janssen <hjanssen@microsoft.com>
To: hjanssen@microsoft.com, haiyangz@microsoft.com, gregkh@suse.de,
linux-kernel@vger.kernel.org, devel@linuxdriverproject.org,
virtualization@lists.osdl.org
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Subject: [PATCH 07/07] Replaced printk with pr_info in hv_timesource
Date: Tue, 29 Mar 2011 13:58:50 -0700 [thread overview]
Message-ID: <1301432330-1705-8-git-send-email-hjanssen@microsoft.com> (raw)
In-Reply-To: <1301432330-1705-1-git-send-email-hjanssen@microsoft.com>
Replaced printk in hv_timesource with pr_ calls
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
drivers/staging/hv/hv_timesource.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/hv/hv_timesource.c b/drivers/staging/hv/hv_timesource.c
index a7ee533..0efb049 100644
--- a/drivers/staging/hv/hv_timesource.c
+++ b/drivers/staging/hv/hv_timesource.c
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/version.h>
#include <linux/clocksource.h>
@@ -91,7 +92,7 @@ static int __init init_hv_clocksource(void)
if (!dmi_check_system(hv_timesource_dmi_table))
return -ENODEV;
- printk(KERN_INFO "Registering HyperV clock source\n");
+ pr_info("Registering HyperV clock source\n");
return clocksource_register(&hyperv_cs);
}
--
1.6.0.2
next prev parent reply other threads:[~2011-03-29 21:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 20:58 [PATCH 00/07] Remove and replace all un-needed DPRINT and printk Hank Janssen
2011-03-29 20:58 ` [PATCH 01/07] Remove all unneeded DPRINT from hv_vmbus Hank Janssen
2011-03-29 20:58 ` [PATCH 02/07] Remove all unneeded DPRINT from hv_netvsc Hank Janssen
2011-03-29 20:58 ` [PATCH 03/07] Remove all unneeded DPRINT from hv_utils Hank Janssen
2011-03-29 20:58 ` [PATCH 04/07] Replace DPRINT with natives in hv_vmbus Hank Janssen
2011-03-29 20:58 ` [PATCH 05/07] replace DPRINT with native primitives in hv_netvsc Hank Janssen
2011-03-29 20:58 ` [PATCH 06/07] Replaced DPRINT and printk with native functions in hv_utils Hank Janssen
2011-03-29 20:58 ` Hank Janssen [this message]
2011-04-05 5:00 ` [PATCH 07/07] Replaced printk with pr_info in hv_timesource Greg KH
2011-04-06 0:14 ` Hank Janssen
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=1301432330-1705-8-git-send-email-hjanssen@microsoft.com \
--to=hjanssen@microsoft.com \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@suse.de \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=virtualization@lists.osdl.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
all inboxes | Powered by JetHome®