arch-parisc-mm-faultc-fix-uninitialized-variable-usage.patch removed from -mm tree
Subject: [merged] arch-parisc-mm-faultc-fix-uninitialized-variable-usage.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 17 Oct 2013 11:12:29 -0700
The patch titled
Subject: arch/parisc/mm/fault.c: fix uninitialized variable usage
has been removed from the -mm tree. Its filename was
arch-parisc-mm-faultc-fix-uninitialized-variable-usage.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Felipe Pena <[email protected]>
Subject: arch/parisc/mm/fault.c: fix uninitialized variable usage
The FAULT_FLAG_WRITE flag has been set based on uninitialized variable.
Fixes regression added by
: commit 759496ba6407c6994d6a5ce3a5e74937d7816208
: Author: Johannes Weiner <[email protected]>
: AuthorDate: Thu Sep 12 15:13:39 2013 -0700
: Commit: Linus Torvalds <[email protected]>
: CommitDate: Thu Sep 12 15:38:01 2013 -0700 :
: arch: mm: pass userspace fault flag to generic fault handler
---
arch/parisc/mm/fault.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
arch/parisc/mm/fault.c renamed from arch/parisc/mm/fault.c~arch-parisc-mm-faultc-fix-uninitialized-variable-usage +3 -1
@@ -182,6 +182,9 @@ void do_page_fault(struct pt_regs *regs,if (user_mode (regs)) flags |=FAULT_FLAG_USER ; + + acc_type =parisc_acctyp (code, regs->iir); +if (acc_type &VM_WRITE ) flags |=FAULT_FLAG_WRITE ; retry:
@@ -196,8 +199,6 @@ retry: good_area: - acc_type =parisc_acctyp (code,regs->iir);