[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1236265466.31324.9.camel@penberg-laptop>
Date: Thu, 05 Mar 2009 17:04:26 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: mingo@...e.hu
Cc: x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] x86: fix uninitialized variable in init_memory_mapping()
From: Pekka Enberg <penberg@...helsinki.fi>
Impact: compile warning fix
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
arch/x86/mm/init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index f7719b1..244ae9c 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -193,8 +193,8 @@ unsigned long __init_refok init_memory_mapping(unsigned long start,
{
unsigned long page_size_mask = 0;
unsigned long start_pfn, end_pfn;
+ unsigned long ret = 0;
unsigned long pos;
- unsigned long ret;
struct map_range mr[NR_RANGE_MR];
int nr_range, i;
--
1.5.4.3
--
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