[PATCH] Fix a compile warning in arch/x86/mm/init_64.c - Kernel
This is a discussion on [PATCH] Fix a compile warning in arch/x86/mm/init_64.c - Kernel ; This fixes a minor compile warning in arch/x86/mm/init_64.c about passing a
wrong pointer type as argument 2 to find_e820_area_size().
Tested with 2.6.26-rc9.
Signed-of-by: Hans J. Koch
Cc: Thomas Gleixner
Cc: Ingo Molnar
---
arch/x86/mm/init_64.c | 2 +-
1 file changed, ...
-
[PATCH] Fix a compile warning in arch/x86/mm/init_64.c
This fixes a minor compile warning in arch/x86/mm/init_64.c about passing a
wrong pointer type as argument 2 to find_e820_area_size().
Tested with 2.6.26-rc9.
Signed-of-by: Hans J. Koch
Cc: Thomas Gleixner
Cc: Ingo Molnar
---
arch/x86/mm/init_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.26-rc/arch/x86/mm/init_64.c
================================================== =================
--- linux-2.6.26-rc.orig/arch/x86/mm/init_64.c 2008-07-10 00:18:52.000000000 +0200
+++ linux-2.6.26-rc/arch/x86/mm/init_64.c 2008-07-10 00:25:43.000000000 +0200
@@ -506,7 +506,7 @@
static void __init early_memtest(unsigned long start, unsigned long end)
{
- u64 t_start, t_size;
+ unsigned long t_start, t_size;
unsigned pattern;
if (!memtest_pattern)
--
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/
-
Re: [PATCH] Fix a compile warning in arch/x86/mm/init_64.c
* Hans J. Koch wrote:
> This fixes a minor compile warning in arch/x86/mm/init_64.c about
> passing a wrong pointer type as argument 2 to find_e820_area_size().
> Tested with 2.6.26-rc9.
>
> Signed-of-by: Hans J. Koch
> Cc: Thomas Gleixner
> Cc: Ingo Molnar
applied to tip/x86/cleanups - thanks Hans!
Ingo
--
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/