Changes in uspace/srv/devman/driver.c [64f85f5:b25970f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/driver.c
r64f85f5 rb25970f 224 224 int cur_score; 225 225 link_t *link; 226 driver_t *drv; 226 227 227 228 fibril_mutex_lock(&drivers_list->drivers_mutex); … … 230 231 cur_score = get_match_score(node->drv, node); 231 232 232 link = list_next(& node->drv->drivers, &drivers_list->drivers);233 link = list_next(&drv->drivers, &drivers_list->drivers); 233 234 234 235 /* … … 236 237 */ 237 238 while (link != NULL) { 238 driver_t *drv = list_get_instance(link, driver_t, 239 drivers); 239 drv = list_get_instance(link, driver_t, drivers); 240 240 score = get_match_score(drv, node); 241 241 if (score == cur_score) {
Note:
See TracChangeset
for help on using the changeset viewer.