Changes in uspace/srv/devman/driver.c [b25970f:64f85f5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/driver.c
rb25970f r64f85f5 224 224 int cur_score; 225 225 link_t *link; 226 driver_t *drv;227 226 228 227 fibril_mutex_lock(&drivers_list->drivers_mutex); … … 231 230 cur_score = get_match_score(node->drv, node); 232 231 233 link = list_next(& drv->drivers, &drivers_list->drivers);232 link = list_next(&node->drv->drivers, &drivers_list->drivers); 234 233 235 234 /* … … 237 236 */ 238 237 while (link != NULL) { 239 drv = list_get_instance(link, driver_t, drivers); 238 driver_t *drv = list_get_instance(link, driver_t, 239 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.