aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/sysenter.c
diff options
context:
space:
mode:
authorZachary Amsden <zach@vmware.com>2007-05-02 19:27:16 +0200
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 19:27:16 +0200
commit752783c050f1729452a89b2baea45b0124ac91c7 (patch)
treece7de3acb1bc02d21cba7c2de0a8ac317b51ff7a /arch/i386/kernel/sysenter.c
parent57decbda6a2a7c400b2a3b3b12e52ccbdc977118 (diff)
downloadkernel_samsung_espresso10-752783c050f1729452a89b2baea45b0124ac91c7.zip
kernel_samsung_espresso10-752783c050f1729452a89b2baea45b0124ac91c7.tar.gz
kernel_samsung_espresso10-752783c050f1729452a89b2baea45b0124ac91c7.tar.bz2
[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>
Diffstat (limited to 'arch/i386/kernel/sysenter.c')
-rw-r--r--arch/i386/kernel/sysenter.c2
1 files changed, 1 insertions, 1 deletions
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 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int exstack)
{
struct mm_struct *mm = current->mm;
unsigned long addr;
- int ret;
+ int ret = 0;
bool compat;
down_write(&mm->mmap_sem);