Skip to content

Commit

Permalink
[PATCH] i386: In compat mode, the return value here was uninitialized.
Browse files Browse the repository at this point in the history
Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Zachary Amsden authored and Andi Kleen committed May 2, 2007
1 parent 57decbd commit 752783c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/sysenter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 752783c

Please sign in to comment.