projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c4f20
)
[PATCH] Call klist_del() instead of klist_remove().
author
mochel@digitalimplant.org
<mochel@digitalimplant.org>
Fri, 25 Mar 2005 02:58:45 +0000
(18:58 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Jun 2005 22:15:19 +0000
(15:15 -0700)
- Can't wait on removing the current item in the list (the positive refcount *because*
we are using it causes it to deadlock).
Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/dd.c
b/drivers/base/dd.c
index 85042ada8a5bc1eee38e376547926e42d1bfba08..159e0623a681bb75c71ad1b9747b3c706c0a7004 100644
(file)
--- a/
drivers/base/dd.c
+++ b/
drivers/base/dd.c
@@
-177,7
+177,7
@@
void device_release_driver(struct device * dev)
sysfs_remove_link(&drv->kobj, kobject_name(&dev->kobj));
sysfs_remove_link(&dev->kobj, "driver");
- klist_
remove
(&dev->knode_driver);
+ klist_
del
(&dev->knode_driver);
down(&dev->sem);
if (drv->remove)