+ mtd-oops-accessing-flash-operations-over-stm-flash-on-pxa.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     mtd: fix OOPS accessing flash operations over STM flash on PXA
has been added to the -mm tree.  Its filename is
     mtd-oops-accessing-flash-operations-over-stm-flash-on-pxa.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mtd: fix OOPS accessing flash operations over STM flash on PXA
From: "Denis V. Lunev" <den@xxxxxxxxxxxxx>

STM 2Gb flash is a large-page NAND flash.  Set operations accordingly. 
This field is dereferrenced without a check in several places resulting in
OOPS.

Signed-off-by: Denis V. Lunev <den@xxxxxxxxxx>
Acked-by: Eric Miao <ymiao3@xxxxxxxxxxx>
Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/mtd/nand/pxa3xx_nand.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/mtd/nand/pxa3xx_nand.c~mtd-oops-accessing-flash-operations-over-stm-flash-on-pxa drivers/mtd/nand/pxa3xx_nand.c
--- a/drivers/mtd/nand/pxa3xx_nand.c~mtd-oops-accessing-flash-operations-over-stm-flash-on-pxa
+++ a/drivers/mtd/nand/pxa3xx_nand.c
@@ -269,6 +269,7 @@ static struct pxa3xx_nand_timing stm2GbX
 
 static struct pxa3xx_nand_flash stm2GbX16 = {
 	.timing = &stm2GbX16_timing,
+	.cmdset	= &largepage_cmdset,
 	.page_per_block = 64,
 	.page_size = 2048,
 	.flash_width = 16,
_

Patches currently in -mm which might be from den@xxxxxxxxxxxxx are

mtd-oops-accessing-flash-operations-over-stm-flash-on-pxa.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux