[PATCH 15/28] In compat mode, the return value here was uninitialized.

2007-04-14 Thread Jeremy Fitzhardinge
From: Zachary Amsden <[EMAIL PROTECTED]>
Signed-off-by: Zachary Amsden <[EMAIL PROTECTED]>

---
 arch/i386/kernel/sysenter.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

===
--- a/arch/i386/kernel/sysenter.c
+++ b/arch/i386/kernel/sysenter.c
@@ -254,7 +254,7 @@ int arch_setup_additional_pages(struct l
 {
struct mm_struct *mm = current->mm;
unsigned long addr;
-   int ret;
+   int ret = 0;
bool compat;
 
down_write(>mmap_sem);

-- 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 15/28] In compat mode, the return value here was uninitialized.

2007-04-14 Thread Jeremy Fitzhardinge
From: Zachary Amsden [EMAIL PROTECTED]
Signed-off-by: Zachary Amsden [EMAIL PROTECTED]

---
 arch/i386/kernel/sysenter.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

===
--- a/arch/i386/kernel/sysenter.c
+++ b/arch/i386/kernel/sysenter.c
@@ -254,7 +254,7 @@ int arch_setup_additional_pages(struct l
 {
struct mm_struct *mm = current-mm;
unsigned long addr;
-   int ret;
+   int ret = 0;
bool compat;
 
down_write(mm-mmap_sem);

-- 

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/