ice from the class list */
>> +list_del_init(>node);
>> +up(>class->sem);
> <<<<<< block end
> May be i've missed something, but i'm confuesd a litle bit.
> For example if error happens while device_pm_add() we jump to label "
-class-devices list yet.
Folowing patch fix this copy-paste error:
[PATCH] driver core: fix device_add error path
- At the moment we jump here device was't added to
dev-class-devices list yet.
Signed-off-by: Monakhov Dmitriy [EMAIL PROTECTED]
---
drivers/base/core.c |9 -
1 files
2 matches
Mail list logo