1. 15 10月, 2008 34 次提交
  2. 23 7月, 2008 1 次提交
  3. 29 4月, 2008 1 次提交
  4. 22 4月, 2008 4 次提交
    • A
      HID: make hid_input_field and usbhid_modify_dquirk static · abdff0f7
      Adrian Bunk 提交于
      This patch makes the following needlessly global functions static:
      - hid-core.c:hid_input_field()
      - usbhid/hid-quirks.c:usbhid_modify_dquirk()
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      abdff0f7
    • J
      HID: pass numbered reports properly to hidraw · b54ec3c1
      Jiri Kosina 提交于
      The numbered reports need to be passed properly to hidraw (i.e. with the first
      data field indicating the report number), otherwise userspace has no idea
      about the identification of the report.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      b54ec3c1
    • J
      HID: fix sparse warnings · 282bfd4c
      Jiri Slaby 提交于
      Fix these sparse warnings:
      .../hid/hid-core.c:100:15: warning: incorrect type in assignment (different signedness)
      .../hid/hid-core.c:100:15:    expected signed int [usertype] *value
      .../hid/hid-core.c:100:15:    got unsigned int *<noident>
              by unsigned -> s32
      
      .../hid/hid-input-quirks.c:336:10: warning: Using plain integer as NULL pointer
              by 0 -> NULL
      
      .../hid/usbhid/hid-core.c:786:46: warning: incorrect type in argument 3 (different signedness)
      .../hid/usbhid/hid-core.c:786:46:    expected int *max
      .../hid/usbhid/hid-core.c:786:46:    got unsigned int *<noident>
      .../hid/usbhid/hid-core.c:787:47: warning: incorrect type in argument 3 (different signedness)
      .../hid/usbhid/hid-core.c:787:47:    expected int *max
      .../hid/usbhid/hid-core.c:787:47:    got unsigned int *<noident>
      .../hid/usbhid/hid-core.c:788:48: warning: incorrect type in argument 3 (different signedness)
      .../hid/usbhid/hid-core.c:788:48:    expected int *max
      .../hid/usbhid/hid-core.c:788:48:    got unsigned int *<noident>
              by int -> unsigned int
      Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      282bfd4c
    • A
      HID: only dump report traffic with debug level 2 · 377e10fb
      Anssi Hannula 提交于
      Currently using debug=1 with hid module prints out all sent and received
      reports to the kernel log, while in many cases we only want to see the
      report descriptors and hid-input mappings that are printed when a device
      is probed.
      
      Add new level debug=2, and only dump the report traffic with that level.
      Signed-off-by: NAnssi Hannula <anssi.hannula@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      377e10fb