Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22028
b: refs/heads/master
c: 5f74813
h: refs/heads/master
v: v3
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 26531c4 commit 5818736
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: 51b208ddf6e492c58609e07fa50bce98bb02cb27
refs/heads/master: 5f7481337cc803926b5c43aac44441f683ff91ed
3 changes: 1 addition & 2 deletions trunk/drivers/usb/misc/cytherm.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,11 @@ static int cytherm_probe(struct usb_interface *interface,
struct usb_cytherm *dev = NULL;
int retval = -ENOMEM;

dev = kmalloc (sizeof(struct usb_cytherm), GFP_KERNEL);
dev = kzalloc (sizeof(struct usb_cytherm), GFP_KERNEL);
if (dev == NULL) {
dev_err (&interface->dev, "Out of memory\n");
goto error;
}
memset (dev, 0x00, sizeof (*dev));

dev->udev = usb_get_dev(udev);

Expand Down

0 comments on commit 5818736

Please sign in to comment.