1. 16 Mar, 2010 1 commit
    • Bruno Prémont's avatar
      HID: avoid '\0' in hid debugfs events file · e639ba48
      Bruno Prémont authored
      When dumping /sys/kernel/debug/hid/$device/events '\0' characters show up
      (invisible if cat to console but shown by less or while looking at a dump
       file).  These are due to hid_debug_event() adding strlen()+1 bytes to the ring
      buffer (e.g. including the trailing '\0').  Any roll-over causes a '\0' as well
      as hid_debug_event() handles the ring buffers with HID_DEBUG_BUFSIZE-1 size
      while hid_debug_events_read() handles it with full HID_DEBUG_BUFSIZE size.
      Signed-off-by: default avatarBruno Prémont <bonbons@linux-vserver.org>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      e639ba48
  2. 13 Mar, 2010 1 commit
  3. 10 Mar, 2010 1 commit
  4. 09 Mar, 2010 2 commits
  5. 25 Feb, 2010 7 commits
  6. 24 Feb, 2010 28 commits