Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33195
b: refs/heads/master
c: 22479e1
h: refs/heads/master
i:
  33193: 79cd259
  33191: f865f26
v: v3
  • Loading branch information
Dmitry Torokhov committed Aug 5, 2006
1 parent f5c07b0 commit 30cf2a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d932cb7e630cae3b6b5307b767d296ff1a597c5e
refs/heads/master: 22479e1c0d111c60d29a4759408394cbdc7548a5
4 changes: 2 additions & 2 deletions trunk/drivers/char/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -1297,9 +1297,9 @@ static struct input_handle *kbd_connect(struct input_handler *handler,
if (i == BTN_MISC && !test_bit(EV_SND, dev->evbit))
return NULL;

if (!(handle = kmalloc(sizeof(struct input_handle), GFP_KERNEL)))
handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL);
if (!handle)
return NULL;
memset(handle, 0, sizeof(struct input_handle));

handle->dev = dev;
handle->handler = handler;
Expand Down

0 comments on commit 30cf2a7

Please sign in to comment.