Changes in uspace/srv/devman/match.c [c6c389ed:38b3baf] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/match.c
rc6c389ed r38b3baf 55 55 match_id_t *tmp_ma_id; 56 56 57 if ( str_cmp(drv_id->id, dev_id->id) == 0) {57 if (0 == str_cmp(drv_id->id, dev_id->id)) { 58 58 /* 59 59 * We found a match. … … 67 67 * list of match ids. 68 68 */ 69 if (drv_ link->next != drv_head) {69 if (drv_head != drv_link->next) { 70 70 tmp_ma_id = list_get_instance(drv_link->next, 71 71 match_id_t, link); … … 79 79 * list of match ids. 80 80 */ 81 if (dev_ link->next != dev_head) {81 if (dev_head != dev_link->next) { 82 82 tmp_ma_id = list_get_instance(dev_link->next, 83 83 match_id_t, link); … … 99 99 } 100 100 101 } while (drv_ link->next != drv_head && dev_link->next != dev_head);101 } while (drv_head != drv_link->next && dev_head != dev_link->next); 102 102 103 103 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.