Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188244
b: refs/heads/master
c: e639ba4
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Prémont authored and Jiri Kosina committed Mar 16, 2010
1 parent 6780720 commit 1345009
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ee8f0a2b1c81f0472b25d40aa5c1c7c6a0edc2a
refs/heads/master: e639ba481b76e445df354acd6e29d859a9b1657f
6 changes: 3 additions & 3 deletions trunk/drivers/hid/hid-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,10 @@ void hid_debug_event(struct hid_device *hdev, char *buf)
struct hid_debug_list *list;

list_for_each_entry(list, &hdev->debug_list, node) {
for (i = 0; i <= strlen(buf); i++)
list->hid_debug_buf[(list->tail + i) % (HID_DEBUG_BUFSIZE - 1)] =
for (i = 0; i < strlen(buf); i++)
list->hid_debug_buf[(list->tail + i) % HID_DEBUG_BUFSIZE] =
buf[i];
list->tail = (list->tail + i) % (HID_DEBUG_BUFSIZE - 1);
list->tail = (list->tail + i) % HID_DEBUG_BUFSIZE;
}
}
EXPORT_SYMBOL_GPL(hid_debug_event);
Expand Down

0 comments on commit 1345009

Please sign in to comment.