Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267602
b: refs/heads/master
c: 34a6781
h: refs/heads/master
v: v3
  • Loading branch information
Manohar Vanga authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent aef387d commit a6b1ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 0428fec32c5fde013cb8223c248972941b18ca59
refs/heads/master: 34a678110ac5d2f1b694c8b9df5cccb1a2607721
4 changes: 1 addition & 3 deletions trunk/drivers/staging/vme/devices/vme_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,16 +651,14 @@ static int __init vme_user_init(void)


/* Dynamically create the bind table based on module parameters */
ids = kmalloc(sizeof(struct vme_device_id) * (bus_num + 1), GFP_KERNEL);
ids = kzalloc(sizeof(struct vme_device_id) * (bus_num + 1), GFP_KERNEL);
if (ids == NULL) {
printk(KERN_ERR "%s: Unable to allocate ID table\n",
driver_name);
retval = -ENOMEM;
goto err_id;
}

memset(ids, 0, (sizeof(struct vme_device_id) * (bus_num + 1)));

for (i = 0; i < bus_num; i++) {
ids[i].bus = bus[i];
/*
Expand Down

0 comments on commit a6b1ea6

Please sign in to comment.