summaryrefslogtreecommitdiffstats
path: root/arch
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
parent57decbda6a2a7c400b2a3b3b12e52ccbdc977118 (diff)
downloadblackbird-op-linux-752783c050f1729452a89b2baea45b0124ac91c7.tar.gz
blackbird-op-linux-752783c050f1729452a89b2baea45b0124ac91c7.zip
[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')
-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 94defac6fc3d..ff4ee6f3326b 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);
OpenPOWER on IntegriCloud