projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bbed5
)
x86: fix uninitialized variable in init_memory_mapping()
author
Pekka Enberg
<penberg@cs.helsinki.fi>
Thu, 5 Mar 2009 15:04:26 +0000
(17:04 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 6 Mar 2009 14:25:52 +0000
(15:25 +0100)
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>
arch/x86/mm/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/init.c
b/arch/x86/mm/init.c
index 6d63e3d1253d057a4a443b5f779c90daf108ef99..15219e0d1243479790e6cd809b68489da41b17f1 100644
(file)
--- a/
arch/x86/mm/init.c
+++ b/
arch/x86/mm/init.c
@@
-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;