Changes in uspace/srv/devman/dev.c [59dc181:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/dev.c
r59dc181 rb7fd2a0 127 127 128 128 /** Get list of device functions. */ 129 int dev_get_functions(dev_tree_t *tree, dev_node_t *dev,129 errno_t dev_get_functions(dev_tree_t *tree, dev_node_t *dev, 130 130 devman_handle_t *hdl_buf, size_t buf_size, size_t *act_size) 131 131 { … … 144 144 145 145 size_t pos = 0; 146 list_foreach(dev->functions, item) { 147 fun_node_t *fun = 148 list_get_instance(item, fun_node_t, dev_functions); 149 146 list_foreach(dev->functions, dev_functions, fun_node_t, fun) { 150 147 if (pos < buf_cnt) { 151 148 hdl_buf[pos] = fun->handle;
Note:
See TracChangeset
for help on using the changeset viewer.