Skip to content

Commit

Permalink
x86: fix uninitialized variable in init_memory_mapping()
Browse files Browse the repository at this point in the history
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <1236265466.31324.9.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Pekka Enberg authored and Ingo Molnar committed Mar 6, 2009
1 parent 31bbed5 commit c77a3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,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;
Expand Down

0 comments on commit c77a3b5

Please sign in to comment.