lkml.org 
[lkml]   [2008]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[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 <hjk@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>

---
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)

\
 
 \ /
  Last update: 2008-07-10 00:55    [W:0.028 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site