1. 11 May, 2012 1 commit
    • Jonathan Nieder's avatar
      HID: logitech: read all 32 bits of report type bitfield · 44d27f7d
      Jonathan Nieder authored
      On big-endian systems (e.g., Apple PowerBook), trying to use a
      logitech wireless mouse with the Logitech Unifying Receiver does not
      work with v3.2 and later kernels.  The device doesn't show up in
      /dev/input.  Older kernels work fine.
      
      That is because the new hid-logitech-dj driver claims the device.  The
      device arrival notification appears:
      
      	20 00 41 02 00 00 00 00 00 00 00 00 00 00 00
      
      and we read the report_types bitfield (02 00 00 00) to find out what
      kind of device it is.  Unfortunately the driver only reads the first 8
      bits and treats that value as a 32-bit little-endian number, so on a
      powerpc the report type seems to be 0x02000000 and is not recognized.
      
      Even on little-endian machines, connecting a media center remote
      control (report type 00 01 00 00) with this driver loaded would
      presumably fail for the same reason.
      
      Fix both problems by using get_unaligned_le32() to read all four
      bytes, which is a little clearer anyway.  After this change, the
      wireless mouse works on Hugo's PowerBook again.
      
      Based on a patch by Nestor Lopez Casado.
      Addresses http://bugs.debian.org/671292Reported-by: default avatarHugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar>
      Inspired-by: default avatarNestor Lopez Casado <nlopezcasad@logitech.com>
      Signed-off-by: default avatarJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: default avatarNestor Lopez Casado <nlopezcasad@logitech.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      44d27f7d
  2. 09 May, 2012 1 commit
  3. 24 Apr, 2012 1 commit
  4. 23 Apr, 2012 1 commit
  5. 20 Apr, 2012 2 commits
  6. 19 Apr, 2012 21 commits
  7. 18 Apr, 2012 9 commits
  8. 17 Apr, 2012 4 commits
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 592fe898
      Linus Torvalds authored
      Pull ext4 regression fixes from Ted Ts'o:
       "This fixes a scalability problem reported by Andi Kleen and Tim Chen;
        they were quite secretive about the precise nature of their workload,
        but they later admitted that it only showed up when they were using a
        large sparse file, so the amount of data I/O that was needed was close
        to zero.
      
        I'm not sure how realistic this is and it's only a regression if you
        consider changes made since 2.6.39 to be a "regression" vis-a-vis the
        policy regarding post-merge window bug fixes, but Linus agreed it was
        worth fixing, so I'm including it in this pull request.
      
        This also fixes the journalled quota mount options, which I
        accidentally broke while I was cleaning up the mount option handling."
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: fix handling of journalled quota options
        ext4: address scalability issue by removing extent cache statistics
      592fe898
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · d44c6d4f
      Linus Torvalds authored
      Pull vfs fixes from Al Viro:
       "A bunch of endianness fixes and a couple of nfsd error value fixes.
      
        Speaking of endianness stuff, I'm rather tempted to slap
      
      	ccflags-y += -D__CHECK_ENDIAN__
      
        in fs/Makefile, if not making it default for the entire tree; nfsd
        regressions I've caught make one hell of a pile and we'd obviously
        benefit from having that kind of stuff caught earlier..."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        lockd: fix the endianness bug
        ocfs2: ->e_leaf_clusters endianness breakage
        ocfs2: ->rl_count endianness breakage
        ocfs: ->rl_used breakage on big-endian
        ocfs2: ->l_next_free_req breakage on big-endian
        btrfs: btrfs_root_readonly() broken on big-endian
        ext4: fix endianness breakage in ext4_split_extent_at()
        nfsd: fix compose_entry_fh() failure exits
        nfsd: fix error value on allocation failure in nfsd4_decode_test_stateid()
        nfsd: fix endianness breakage in TEST_STATEID handling
        nfsd: fix error values returned by nfsd4_lockt() when nfsd_open() fails
        nfsd: fix b0rken error value for setattr on read-only mount
      d44c6d4f
    • Linus Torvalds's avatar
      Merge git://git.samba.org/sfrench/cifs-2.6 · bc0cf58e
      Linus Torvalds authored
      Pull CIFS fixes from Steve French.
      
      * git://git.samba.org/sfrench/cifs-2.6:
        Fix number parsing in cifs_parse_mount_options
        Cleanup handling of NULL value passed for a mount option
      bc0cf58e
    • Greg Ungerer's avatar
      m68knommu: make sure 2nd FEC eth interface pins are enabled on 5275 ColdFire · 938ed250
      Greg Ungerer authored
      The CONFIG_FEC2 define was removed from the kernel many versions ago.
      But it is still being used to set the multi-function pins when compiling
      for a ColdFire 527[45] SoC that has 2 ethernet interfaces. Remove the
      last remaining uses of this define, and so fix the setting of the pins
      for the 2nd ethernet interface.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      938ed250