1. 24 1月, 2016 3 次提交
  2. 23 1月, 2016 3 次提交
  3. 16 1月, 2016 1 次提交
    • A
      mtd: nuc900_nand: read correct SMISR register · f9bdbd6c
      Arnd Bergmann 提交于
      The nuc900_nand driver has always passed an incorrect register
      address in its nuc900_check_rb() function, which cannot possibly
      work, and in some configurations gives us a build warning:
      
      drivers/mtd/nand/nuc900_nand.c: In function 'nuc900_check_rb':
      drivers/mtd/nand/nuc900_nand.c:27:23: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
       #define REG_SMISR     0xac
      drivers/mtd/nand/nuc900_nand.c:118:20: note: in expansion of macro 'REG_SMISR'
        val = __raw_readl(REG_SMISR);
      
      This makes sure we actually read from the register rather than
      from (void *)0x000000ac in user space.
      
      I suspect nobody noticed this before because the nuc900_nand_devready()
      function never gets called, or nobody uses this driver on an upstream
      kernel. Possibly even both.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      f9bdbd6c
  4. 09 1月, 2016 2 次提交
  5. 08 1月, 2016 4 次提交
  6. 07 1月, 2016 6 次提交
  7. 06 1月, 2016 1 次提交
  8. 19 12月, 2015 20 次提交