Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228277
b: refs/heads/master
c: b62c99b
h: refs/heads/master
i:
  228275: ca67736
v: v3
  • Loading branch information
Emilio G. Cota authored and Greg Kroah-Hartman committed Dec 3, 2010
1 parent 5affbe4 commit 42d23ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 4740a0846069f6d4cbba9e328a9d92e6dd76110d
refs/heads/master: b62c99b17c2c513eaf6b77a76907a13a1beb86d3
4 changes: 3 additions & 1 deletion trunk/drivers/staging/vme/devices/vme_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,10 @@ static int __devexit vme_user_remove(struct device *dev, int cur_bus,
device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i));
class_destroy(vme_user_sysfs_class);

for (i = MASTER_MINOR; i < (MASTER_MAX + 1); i++)
for (i = MASTER_MINOR; i < (MASTER_MAX + 1); i++) {
kfree(image[i].kern_buf);
vme_master_free(image[i].resource);
}

for (i = SLAVE_MINOR; i < (SLAVE_MAX + 1); i++) {
vme_slave_set(image[i].resource, 0, 0, 0, 0, VME_A32, 0);
Expand Down

0 comments on commit 42d23ee

Please sign in to comment.