1. 29 4月, 2008 1 次提交
  2. 01 3月, 2008 1 次提交
    • L
      [ARM] 4837/1: make __get_unaligned_*() return unsigned types · 94a3f785
      Lennert Buytenhek 提交于
      Eric Sandeen tracked an XFS on ARM corruption bug down to a function
      under fs/xfs/ involving some get_unaligned() calls on u64 pointers.
      As it turns out, calling ARM's get_unaligned() on a u64 pointer
      pointing to the following byte sequence:
      
      	80 81 82 83 84 85 86 87
      
      would return ffffffff83828180 (LE mode.)  This turns out to be
      because of implicit u8 -> int promotion in ARM's implementation of
      various helpers for get_unaligned(), causing them to accidentally
      return signed instead of unsigned values, which in turn caused the
      subsequent casts to unsigned long long in __get_unaligned_8_[bl]e()
      to sign-extend the lower words.
      
      Fix by casting the return values of __get_unaligned_[24]_[bl]e()
      to unsigned int.
      
      Cc: Eric Sandeen <sandeen@sandeen.net>
      Cc: Rabeeh Khoury <rabeeh@marvell.com>
      Cc: Nicolas Pitre <nico@marvell.com>
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      94a3f785
  3. 27 7月, 2007 1 次提交
  4. 25 9月, 2006 1 次提交
  5. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4