Subject: [merged] arch-parisc-mm-faultc-fix-uninitialized-variable-usage.patch removed from -mm tree To: felipensp@xxxxxxxxx,deller@xxxxxx,hannes@xxxxxxxxxxx,jejb@xxxxxxxxxxxxxxxx,mhocko@xxxxxxx,torvalds@xxxxxxxxxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx 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 <felipensp@xxxxxxxxx> 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 <hannes@xxxxxxxxxxx> : AuthorDate: Thu Sep 12 15:13:39 2013 -0700 : Commit: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> : CommitDate: Thu Sep 12 15:38:01 2013 -0700 : : arch: mm: pass userspace fault flag to generic fault handler Signed-off-by: Felipe Pena <felipensp@xxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxx> Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxxxxx> Cc: Helge Deller <deller@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/parisc/mm/fault.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN arch/parisc/mm/fault.c~arch-parisc-mm-faultc-fix-uninitialized-variable-usage arch/parisc/mm/fault.c --- a/arch/parisc/mm/fault.c~arch-parisc-mm-faultc-fix-uninitialized-variable-usage +++ a/arch/parisc/mm/fault.c @@ -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); - if ((vma->vm_flags & acc_type) != acc_type) goto bad_area; _ Patches currently in -mm which might be from felipensp@xxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html