login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
28
RE: [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
[view in full thread]
From: Wang, Shane
Subject:
RE: [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
Date: Wednesday, October 27, 2010 - 9:06 pm
<resend> ACKed-by: Shane Wang <shane.wang@intel.com> Joe Perches wrote:
quoted text
> 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)
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
Messages in current thread:
[PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
, Joe Perches
, (Wed Oct 20, 11:24 am)
RE: [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
, Wang, Shane
, (Wed Oct 27, 7:00 pm)
RE: [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt
, Wang, Shane
, (Wed Oct 27, 9:06 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()