1. 21 9月, 2009 1 次提交
  2. 16 9月, 2009 2 次提交
  3. 03 9月, 2009 3 次提交
    • D
      mtd: nftl: fix offset alignments · 16f05c2b
      Dimitri Gorokhovik 提交于
      Arithmetic conversion in the mask computation makes the upper word
      of the second argument passed down to mtd->read_oob(), be always 0
      (assuming 'offs' being a 64-bit signed long long type, and
      'mtd->writesize' being a 32-bit unsigned int type).
      
      This patch applies over the other one adding masking in nftl_write,
      "nftl: write support is broken".
      Signed-off-by: NDimitri Gorokhovik <dimitri.gorokhovik@free.fr>
      Cc: Tim Gardner <tim.gardner@canonical.com>
      Cc: Scott James Remnant <scott@canonical.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      16f05c2b
    • D
      mtd: nftl: write support is broken · 4149ed1a
      Dimitri Gorokhovik 提交于
      Write support is broken in NFTL. Fix it.
      
      Signed-off-by: <dimitri.gorokhovik@free.fr>
      Cc: Tim Gardner <tim.gardner@canonical.com>
      Cc: Scott James Remnant <scott@canonical.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      4149ed1a
    • A
      mtd: m25p80: fix null pointer dereference bug · edcb3b14
      Anton Vorontsov 提交于
      This patch fixes the following oops, observed with MTD_PARTITIONS=n:
      
      m25p80 spi32766.0: m25p80 (1024 Kbytes)
      Unable to handle kernel paging request for data at address 0x00000008
      Faulting instruction address: 0xc03a54b0
      Oops: Kernel access of bad area, sig: 11 [#1]
      Modules linked in:
      NIP: c03a54b0 LR: c03a5494 CTR: c01e98b8
      REGS: ef82bb60 TRAP: 0300   Not tainted  (2.6.31-rc4-00167-g4733fd32)
      MSR: 00029000 <EE,ME,CE>  CR: 24022022  XER: 20000000
      DEAR: 00000008, ESR: 00000000
      TASK = ef82c000[1] 'swapper' THREAD: ef82a000
      GPR00: 00000000 ef82bc10 ef82c000 0000002e 00001eb8 ffffffff c01e9824 00000036
      GPR08: c054ed40 c0542a08 00001eb8 00004000 22022022 1001a1a0 3ff8fd00 00000000
      GPR16: 00000000 00000001 00000000 00000000 ef82bddc c0530000 efbef500 ef8356d0
      GPR24: 00000000 ef8356d0 00000000 efbf7a00 c0530ec4 ffffffed efbf5300 c0541f98
      NIP [c03a54b0] m25p_probe+0x22c/0x354
      LR [c03a5494] m25p_probe+0x210/0x354
      Call Trace:
      [ef82bc10] [c03a5494] m25p_probe+0x210/0x354 (unreliable)
      [ef82bca0] [c024e37c] spi_drv_probe+0x2c/0x3c
      [ef82bcb0] [c01f1afc] driver_probe_device+0xa4/0x178
      [ef82bcd0] [c01f06e8] bus_for_each_drv+0x6c/0xa8
      [ef82bd00] [c01f1a34] device_attach+0x84/0xa8
      ...
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      edcb3b14
  4. 29 8月, 2009 1 次提交
  5. 24 8月, 2009 1 次提交
  6. 12 8月, 2009 1 次提交
  7. 03 8月, 2009 6 次提交
  8. 25 7月, 2009 2 次提交
  9. 15 7月, 2009 2 次提交
  10. 09 7月, 2009 1 次提交
    • H
      [ARM] 5592/1: ep93xx: cleanup platform header includes · 583ddafe
      Hartley Sweeten 提交于
      arch/arm/mach-ep93xx/include/mach/hardware.h
        1. Properly name the include files so that they are loaded
           from the <mach/*> directory and not the local directory.
        2. Remove including the ts72xx.h header.  This header is not
           generic to the ep93xx platform.  It should only be included
           by the ts72xx specific files that require it.  The only
           two users in the tree are arch/arm/mach-ep93xx/ts72xx.c
           and drivers/mtd/nand/ts7250.c.
      
      arch/arm/mach-ep93xx/include/mach/ts72xx.h
        1. <linux/io.h> should already be included by any user of this
           header.  Doing the include here hides it from being needed
           by the calling source file.
      
      arch/arm/mach-ep93xx/core.c
        1. Remove unnecessary headers.  They were probably included
           originally due to cut-and-paste from other files.
        2. <linux/io.h> should be included not <mach/gpio.h>
      
      arch/arm/mach-ep93xx/adsphere.c
      arch/arm/mach-ep93xx/edb93xx.c
      arch/arm/mach-ep93xx/gesbc9312.c
      arch/arm/mach-ep93xx/micro9.c
      arch/arm/mach-ep93xx/ts72xx.c
        1. Remove unnecessary headers.
      
      arch/arm/mach-ep93xx/ts72xx.c
        1. Remove unnecessary headers.
        2. Add platform specific header <mach/ts72xx.h>.
      
      drivers/mtd/nand/ts7250.c
        1. <linux/io.h> should be included not <asm/io.h>.
        2. Add platform specific header <mach/ts72xx.h>.
      
      Cc: Ryan Mallon <ryan@bluewatersys.com>
      Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      583ddafe
  11. 08 7月, 2009 1 次提交
  12. 07 7月, 2009 1 次提交
    • A
      UBI: fix NOR flash recovery · ebf53f42
      Artem Bityutskiy 提交于
      This commit fixes NOR flash recovery issues observed with Spansion
      S29GL512N NOR.
      
      When NOR erases, it first fills PEBs with zeroes, then sets all bytes
      to 0xFF. Filling with zeroes starts from the end of the PEB. And when
      power is cut, this results in PEBs containing correct EC and VID headers
      but corrupted with zeros at the end. This confuses UBI and it mistakinly
      accepts these PEBs and associate them with LEBs.
      
      Fis this issue by zeroing EC and VID magics before erasing PEBs, to
      make UBI later refuse zem.
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      ebf53f42
  13. 05 7月, 2009 4 次提交
  14. 28 6月, 2009 1 次提交
  15. 27 6月, 2009 2 次提交
  16. 25 6月, 2009 2 次提交
  17. 24 6月, 2009 1 次提交
  18. 16 6月, 2009 1 次提交
  19. 13 6月, 2009 2 次提交
  20. 10 6月, 2009 4 次提交
  21. 09 6月, 2009 1 次提交