commit | 752783c050f1729452a89b2baea45b0124ac91c7 | [log] [tgz] |
---|---|---|
author | Zachary Amsden <zach@vmware.com> | Wed May 02 19:27:16 2007 +0200 |
committer | Andi Kleen <andi@basil.nowhere.org> | Wed May 02 19:27:16 2007 +0200 |
tree | ce7de3acb1bc02d21cba7c2de0a8ac317b51ff7a | |
parent | 57decbda6a2a7c400b2a3b3b12e52ccbdc977118 [diff] |
[PATCH] i386: In compat mode, the return value here was uninitialized. Signed-off-by: Zachary Amsden <zach@vmware.com> Signed-off-by: Andi Kleen <ak@suse.de>
diff --git a/arch/i386/kernel/sysenter.c b/arch/i386/kernel/sysenter.c index 94defac..ff4ee6f 100644 --- a/arch/i386/kernel/sysenter.c +++ b/arch/i386/kernel/sysenter.c
@@ -268,7 +268,7 @@ { struct mm_struct *mm = current->mm; unsigned long addr; - int ret; + int ret = 0; bool compat; down_write(&mm->mmap_sem);