From: Zachary Amsden Date: Wed, 2 May 2007 17:27:16 +0000 (+0200) Subject: [PATCH] i386: In compat mode, the return value here was uninitialized. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=752783c050f1729452a89b2baea45b0124ac91c7;p=openwrt%2Fstaging%2Fblogic.git [PATCH] i386: In compat mode, the return value here was uninitialized. Signed-off-by: Zachary Amsden Signed-off-by: Andi Kleen --- 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);