Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200955
b: refs/heads/master
c: ca9fe15
h: refs/heads/master
i:
  200953: e2dd10c
  200951: 3ded183
v: v3
  • Loading branch information
Julia Lawall authored and Jiri Kosina committed Jun 21, 2010
1 parent 51c2a5e commit 12b29e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 6e32819e12ffbd507eced11a1871700a387d5407
refs/heads/master: ca9fe1588427f246ad4c389b0170b29a432804b6
2 changes: 1 addition & 1 deletion trunk/drivers/hid/hid-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,8 +949,8 @@ static ssize_t hid_debug_events_read(struct file *file, char __user *buffer,
int ret = 0, len;
DECLARE_WAITQUEUE(wait, current);

mutex_lock(&list->read_mutex);
while (ret == 0) {
mutex_lock(&list->read_mutex);
if (list->head == list->tail) {
add_wait_queue(&list->hdev->debug_wait, &wait);
set_current_state(TASK_INTERRUPTIBLE);
Expand Down

0 comments on commit 12b29e3

Please sign in to comment.