1. 02 Dec, 2013 2 commits
    • Christian Engelmayer's avatar
      Input: usbtouchscreen - separate report and transmit buffer size handling · 4ef38351
      Christian Engelmayer authored
      This patch supports the separate handling of the USB transfer buffer length
      and the length of the buffer used for multi packet support. For devices
      supporting multiple report or diagnostic packets, the USB transfer size is now
      limited to the USB endpoints wMaxPacketSize - otherwise it defaults to the
      configured report packet size as before.
      
      This fixes an issue where event reporting can be delayed for an arbitrary
      time for multi packet devices. For instance the report size for eGalax devices
      is defined to the 16 byte maximum diagnostic packet size as opposed to the 5
      byte report packet size. In case the driver requests 16 byte from the USB
      interrupt endpoint, the USB host controller driver needs to split up the
      request into 2 accesses according to the endpoints wMaxPacketSize of 8 byte.
      When the first transfer is answered by the eGalax device with not less than
      the full 8 byte requested, the host controller has got no way of knowing
      whether the touch controller has got additional data queued and will issue
      the second transfer. If per example a liftoff event finishes at such a
      wMaxPacketSize boundary, the data will not be available to the usbtouch driver
      until a further event is triggered and transfered to the host. From user
      perspective the BTN_TOUCH release event in this case is stuck until the next
      touch down event.
      Signed-off-by: default avatarChristian Engelmayer <christian.engelmayer@frequentis.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      4ef38351
    • Dmitry Torokhov's avatar
      Input: sur40 - suppress false uninitialized variable warning · b884eb8c
      Dmitry Torokhov authored
      We will never use packet_id before initializing it as we start with
      "need_blobs == -1" and will set packet_id there.
      
      Also use le32_to_cpu when fetching header->packet_id.
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      b884eb8c
  2. 26 Nov, 2013 2 commits
  3. 22 Nov, 2013 1 commit
  4. 21 Nov, 2013 4 commits
  5. 20 Nov, 2013 1 commit
  6. 15 Nov, 2013 2 commits
  7. 11 Nov, 2013 6 commits
  8. 31 Oct, 2013 10 commits
  9. 22 Oct, 2013 5 commits
  10. 16 Oct, 2013 3 commits
  11. 08 Oct, 2013 1 commit
  12. 06 Oct, 2013 3 commits
    • Linus Torvalds's avatar
      Linux 3.12-rc4 · d0e639c9
      Linus Torvalds authored
      d0e639c9
    • Eric W. Biederman's avatar
      net: Update the sysctl permissions handler to test effective uid/gid · 2433c8f0
      Eric W. Biederman authored
      Modify the code to use current_euid(), and in_egroup_p, as in done
      in fs/proc/proc_sysctl.c:test_perm()
      
      Cc: stable@vger.kernel.org
      Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
      Reported-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2433c8f0
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 13caa8ed
      Linus Torvalds authored
      Pull SCSI target fixes from Nicholas Bellinger:
       "Here are the outstanding target fixes queued up for v3.12-rc4 code.
      
        The highlights include:
      
         - Make vhost/scsi tag percpu_ida_alloc() use GFP_ATOMIC
         - Allow sess_cmd_map allocation failure fallback to use vzalloc
         - Fix COMPARE_AND_WRITE se_cmd->data_length bug with FILEIO backends
         - Fixes for COMPARE_AND_WRITE callback recursive failure OOPs + non
           zero scsi_status bug
         - Make iscsi-target do acknowledgement tag release from RX context
         - Setup iscsi-target with extra (cmdsn_depth / 2) percpu_ida tags
      
        Also included is a iscsi-target patch CC'ed for v3.10+ that avoids
        legacy wait_for_task=true release during fast-past StatSN
        acknowledgement, and two other SRP target related patches that address
        long-standing issues that are CC'ed for v3.3+.
      
        Extra thanks to Thomas Glanzmann for his testing feedback with
        COMPARE_AND_WRITE + EXTENDED_COPY VAAI logic"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        iscsi-target; Allow an extra tag_num / 2 number of percpu_ida tags
        iscsi-target: Perform release of acknowledged tags from RX context
        iscsi-target: Only perform wait_for_tasks when performing shutdown
        target: Fail on non zero scsi_status in compare_and_write_callback
        target: Fix recursive COMPARE_AND_WRITE callback failure
        target: Reset data_length for COMPARE_AND_WRITE to NoLB * block_size
        ib_srpt: always set response for task management
        target: Fall back to vzalloc upon ->sess_cmd_map kzalloc failure
        vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tag
        ib_srpt: Destroy cm_id before destroying QP.
        target: Fix xop->dbl assignment in target_xcopy_parse_segdesc_02
      13caa8ed