From: Greg KH <greg@kroah.com>
To: Hank Janssen <hjanssen@microsoft.com>
Cc: haiyangz@microsoft.com, gregkh@suse.de,
linux-kernel@vger.kernel.org, devel@linuxdriverproject.org,
virtualization@lists.osdl.org,
"K. Y. Srinivasan" <kys@microsoft.com>
Subject: Re: [PATCH 07/07] Replaced printk with pr_info in hv_timesource
Date: Mon, 4 Apr 2011 22:00:45 -0700 [thread overview]
Message-ID: <20110405050045.GA4663@kroah.com> (raw)
In-Reply-To: <1301432330-1705-8-git-send-email-hjanssen@microsoft.com>
On Tue, Mar 29, 2011 at 01:58:50PM -0700, Hank Janssen wrote:
> 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");
Why is this line even needed at all? Please remove it in future
patches.
thanks,
greg k-h
next prev parent reply other threads:[~2011-04-05 7:36 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 ` [PATCH 07/07] Replaced printk with pr_info in hv_timesource Hank Janssen
2011-04-05 5:00 ` Greg KH [this message]
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=20110405050045.GA4663@kroah.com \
--to=greg@kroah.com \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@suse.de \
--cc=haiyangz@microsoft.com \
--cc=hjanssen@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