]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] i386: In compat mode, the return value here was uninitialized.
authorZachary Amsden <zach@vmware.com>
Wed, 2 May 2007 17:27:16 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:16 +0000 (19:27 +0200)
Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/sysenter.c

index 94defac6fc3d9acf6953c64a55fc9c50ed286706..ff4ee6f3326b300a5504370b8720b4263d311f6e 100644 (file)
@@ -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);