Re: [PATCH -next] x86, kaslr: remove unused including

2013-12-09 Thread Kees Cook
On Sat, Dec 7, 2013 at 5:02 AM, Wei Yongjun  wrote:
> From: Wei Yongjun 
>
> Remove including  that don't need it.
>
> Signed-off-by: Wei Yongjun 

Thanks, yeah, ultimately utsrelease.h had everything that was needed.

Acked-by: Kees Cook 

> ---
>  arch/x86/boot/compressed/aslr.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c
> index 84be175..90a21f4 100644
> --- a/arch/x86/boot/compressed/aslr.c
> +++ b/arch/x86/boot/compressed/aslr.c
> @@ -10,7 +10,6 @@
>  #include 
>  #include 
>  #include 
> -#include 
>
>  /* Simplified build-specific string for starting entropy. */
>  static const char build_str[] = UTS_RELEASE " (" LINUX_COMPILE_BY "@"
>

-Kees

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


Re: [PATCH -next] x86, kaslr: remove unused including linux/version.h

2013-12-09 Thread Kees Cook
On Sat, Dec 7, 2013 at 5:02 AM, Wei Yongjun weiyj...@gmail.com wrote:
 From: Wei Yongjun yongjun_...@trendmicro.com.cn

 Remove including linux/version.h that don't need it.

 Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn

Thanks, yeah, ultimately utsrelease.h had everything that was needed.

Acked-by: Kees Cook keesc...@chromium.org

 ---
  arch/x86/boot/compressed/aslr.c | 1 -
  1 file changed, 1 deletion(-)

 diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c
 index 84be175..90a21f4 100644
 --- a/arch/x86/boot/compressed/aslr.c
 +++ b/arch/x86/boot/compressed/aslr.c
 @@ -10,7 +10,6 @@
  #include linux/uts.h
  #include linux/utsname.h
  #include generated/utsrelease.h
 -#include linux/version.h

  /* Simplified build-specific string for starting entropy. */
  static const char build_str[] = UTS_RELEASE  ( LINUX_COMPILE_BY @


-Kees

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


[PATCH -next] x86, kaslr: remove unused including

2013-12-07 Thread Wei Yongjun
From: Wei Yongjun 

Remove including  that don't need it.

Signed-off-by: Wei Yongjun 
---
 arch/x86/boot/compressed/aslr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c
index 84be175..90a21f4 100644
--- a/arch/x86/boot/compressed/aslr.c
+++ b/arch/x86/boot/compressed/aslr.c
@@ -10,7 +10,6 @@
 #include 
 #include 
 #include 
-#include 
 
 /* Simplified build-specific string for starting entropy. */
 static const char build_str[] = UTS_RELEASE " (" LINUX_COMPILE_BY "@"

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


[PATCH -next] x86, kaslr: remove unused including linux/version.h

2013-12-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn

Remove including linux/version.h that don't need it.

Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
 arch/x86/boot/compressed/aslr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c
index 84be175..90a21f4 100644
--- a/arch/x86/boot/compressed/aslr.c
+++ b/arch/x86/boot/compressed/aslr.c
@@ -10,7 +10,6 @@
 #include linux/uts.h
 #include linux/utsname.h
 #include generated/utsrelease.h
-#include linux/version.h
 
 /* Simplified build-specific string for starting entropy. */
 static const char build_str[] = UTS_RELEASE  ( LINUX_COMPILE_BY @

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