lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <D5AB6E638E5A3E4B8F4406B113A5A19A3003ECB2@shsmsx501.ccr.corp.intel.com>
Date:	Thu, 28 Oct 2010 12:06:30 +0800
From:	"Wang, Shane" <shane.wang@...el.com>
To:	Joe Perches <joe@...ches.com>,
	"Cihula, Joseph" <joseph.cihula@...el.com>
CC:	x86 <x86@...nel.org>,
	"tboot-devel@...ts.sourceforge.net" 
	<tboot-devel@...ts.sourceforge.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] arch/x86/kernel/tboot.c: Standardize pr_fmt

<resend>

ACKed-by: Shane Wang <shane.wang@...el.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@...ches.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)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ