Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22029
b: refs/heads/master
c: 092e462
h: refs/heads/master
i:
  22027: 26531c4
v: v3
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 5818736 commit 8bff6a9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 5f7481337cc803926b5c43aac44441f683ff91ed
refs/heads/master: 092e462a537ba60e5f78ff208c8a95e6fd071fa5
3 changes: 1 addition & 2 deletions trunk/drivers/usb/misc/idmouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,9 @@ static int idmouse_probe(struct usb_interface *interface,
return -ENODEV;

/* allocate memory for our device state and initialize it */
dev = kmalloc(sizeof(*dev), GFP_KERNEL);
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (dev == NULL)
return -ENOMEM;
memset(dev, 0x00, sizeof(*dev));

init_MUTEX(&dev->sem);
dev->udev = udev;
Expand Down

0 comments on commit 8bff6a9

Please sign in to comment.