1. 21 8月, 2008 1 次提交
    • F
      [MTD] [NAND] nand_ecc.c: fix big endian, strengthen test, add printk · 1077be58
      frans 提交于
      This patch for nand_ecc.c fixes three issues
      
      - fix code so it also works on big endian architectures
      - added a printk in case of an uncorrectable ecc error
      - strengthen the test for correctable errors (decreasing the chance
        that multiple bit faults by accident will be seen as correctable)
      
      Note: the big endian code is only tested in a testbed (running on big endian
      hardware) as I cannot rebuild and test a big endian kernel at the moment.
      However the only thing that can go wrong is if <asm/byteorder.h> does not
      give __BIG_ENDIAN in that case. In my eyes very unlikely.
      Signed-off-by: NFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      1077be58
  2. 17 8月, 2008 1 次提交
  3. 16 8月, 2008 2 次提交
  4. 15 8月, 2008 1 次提交
  5. 12 8月, 2008 8 次提交
  6. 11 8月, 2008 23 次提交
  7. 10 8月, 2008 1 次提交
    • A
      uninline atl1e_setup_mac_ctrl() · e6ca2328
      Adrian Bunk 提交于
      There doesn't seem to be a compelling reason why atl1e_setup_mac_ctrl()
      is marked as "inline":
      
      It's not used in any place where speed would matter much, and as long as
      it has only one caller non-ancient gcc versions anyway inline it
      automatically.
      
      This patch fixes the following compile error with gcc 3.4:
      
          CC      drivers/net/atl1e/atl1e_main.o
        atl1e_main.c: In function `atl1e_check_link':
        atl1e_main.c:50: sorry, unimplemented: inlining failed in call to
        atl1e_main.c:196: sorry, unimplemented: called from here
      Reported-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e6ca2328
  8. 09 8月, 2008 1 次提交
  9. 08 8月, 2008 2 次提交