All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
@ 2010-10-20 18:24 Joe Perches
  2010-10-28  2:00 ` Wang, Shane
  2010-10-28  4:06 ` Wang, Shane
  0 siblings, 2 replies; 3+ messages in thread
From: Joe Perches @ 2010-10-20 18:24 UTC (permalink / raw)
  To: Joseph Cihula, Shane Wang; +Cc: x86, tboot-devel, linux-kernel

Move the define before any #include and use the more
standard KBUILD_MODNAME.  No change in output.

Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/x86/kernel/tboot.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c
index c2f1b26..b9a0077 100644
--- a/arch/x86/kernel/tboot.c
+++ b/arch/x86/kernel/tboot.c
@@ -19,6 +19,8 @@
  *
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/dma_remapping.h>
 #include <linux/init_task.h>
 #include <linux/spinlock.h>
@@ -51,9 +53,6 @@ EXPORT_SYMBOL(tboot);
 /* timeout for APs (in secs) to enter wait-for-SIPI state during shutdown */
 #define AP_WAIT_TIMEOUT		1
 
-#undef pr_fmt
-#define pr_fmt(fmt)	"tboot: " fmt
-
 static u8 tboot_uuid[16] __initdata = TBOOT_UUID;
 
 void __init tboot_probe(void)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
  2010-10-20 18:24 [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt Joe Perches
@ 2010-10-28  2:00 ` Wang, Shane
  2010-10-28  4:06 ` Wang, Shane
  1 sibling, 0 replies; 3+ messages in thread
From: Wang, Shane @ 2010-10-28  2:00 UTC (permalink / raw)
  To: Joe Perches, Cihula, Joseph; +Cc: x86, tboot-devel, linux-kernel

ACK

Shane

Joe Perches wrote:
> Move the define before any #include and use the more
> standard KBUILD_MODNAME.  No change in output.
> 
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  arch/x86/kernel/tboot.c |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c
> index c2f1b26..b9a0077 100644
> --- a/arch/x86/kernel/tboot.c
> +++ b/arch/x86/kernel/tboot.c
> @@ -19,6 +19,8 @@
>   *
>   */
> 
> +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> +
>  #include <linux/dma_remapping.h>
>  #include <linux/init_task.h>
>  #include <linux/spinlock.h>
> @@ -51,9 +53,6 @@ EXPORT_SYMBOL(tboot);
>  /* timeout for APs (in secs) to enter wait-for-SIPI state during
>  shutdown */ #define AP_WAIT_TIMEOUT		1
> 
> -#undef pr_fmt
> -#define pr_fmt(fmt)	"tboot: " fmt
> -
>  static u8 tboot_uuid[16] __initdata = TBOOT_UUID;
> 
>  void __init tboot_probe(void)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
  2010-10-20 18:24 [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt Joe Perches
  2010-10-28  2:00 ` Wang, Shane
@ 2010-10-28  4:06 ` Wang, Shane
  1 sibling, 0 replies; 3+ messages in thread
From: Wang, Shane @ 2010-10-28  4:06 UTC (permalink / raw)
  To: Joe Perches, Cihula, Joseph; +Cc: x86, tboot-devel, linux-kernel

<resend>

ACKed-by: Shane Wang <shane.wang@intel.com>


Joe Perches wrote:
> Move the define before any #include and use the more
> standard KBUILD_MODNAME.  No change in output.
> 
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  arch/x86/kernel/tboot.c |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c
> index c2f1b26..b9a0077 100644
> --- a/arch/x86/kernel/tboot.c
> +++ b/arch/x86/kernel/tboot.c
> @@ -19,6 +19,8 @@
>   *
>   */
> 
> +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> +
>  #include <linux/dma_remapping.h>
>  #include <linux/init_task.h>
>  #include <linux/spinlock.h>
> @@ -51,9 +53,6 @@ EXPORT_SYMBOL(tboot);
>  /* timeout for APs (in secs) to enter wait-for-SIPI state during
>  shutdown */ #define AP_WAIT_TIMEOUT		1
> 
> -#undef pr_fmt
> -#define pr_fmt(fmt)	"tboot: " fmt
> -
>  static u8 tboot_uuid[16] __initdata = TBOOT_UUID;
> 
>  void __init tboot_probe(void)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-28  4:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 18:24 [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt Joe Perches
2010-10-28  2:00 ` Wang, Shane
2010-10-28  4:06 ` Wang, Shane

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.