Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11042
b: refs/heads/master
c: 96ed748
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 15a5859 commit cf48a3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ff77c469ed16221c6a4e882e48e4f0dcf451bda
refs/heads/master: 96ed748d9da03d091799f8107fce27d218fd8f5c
5 changes: 5 additions & 0 deletions trunk/drivers/char/qtronix.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,11 @@ static int __init psaux_init(void)
return retval;

queue = (struct aux_queue *) kmalloc(sizeof(*queue), GFP_KERNEL);
if (!queue) {
misc_deregister(&psaux_mouse);
return -ENOMEM;
}

memset(queue, 0, sizeof(*queue));
queue->head = queue->tail = 0;
init_waitqueue_head(&queue->proc_list);
Expand Down

0 comments on commit cf48a3f

Please sign in to comment.