Changeset 7c3fb9b in mainline for kernel/generic/src/sysinfo/sysinfo.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/sysinfo.c
rfac0ac7 r7c3fb9b 232 232 i++; 233 233 234 /* Check for perfect name and path match 234 /* 235 * Check for perfect name and path match 235 236 * -> item is already present. 236 237 */ … … 251 252 &(cur->subtree.table)); 252 253 default: 253 /* Subtree items handled by a function, this 254 /* 255 * Subtree items handled by a function, this 254 256 * cannot be overriden by a constant item. 255 257 */ … … 258 260 } 259 261 260 /* No match and no more siblings to check 262 /* 263 * No match and no more siblings to check 261 264 * -> create a new sibling item. 262 265 */ … … 457 460 sysinfo_item_t *item = sysinfo_create_path(name, root); 458 461 459 /* Change the type of the subtree only if it is not already 460 a fixed subtree */ 462 /* 463 * Change the type of the subtree only if it is not already 464 * a fixed subtree 465 */ 461 466 if ((item != NULL) && (item->subtree_type != SYSINFO_SUBTREE_TABLE)) { 462 467 item->subtree_type = SYSINFO_SUBTREE_FUNCTION; … … 559 564 void sysinfo_dump(sysinfo_item_t *root) 560 565 { 561 /* Avoid other functions to mess with sysinfo 562 while we are dumping it */ 566 /* 567 * Avoid other functions to mess with sysinfo 568 * while we are dumping it 569 */ 563 570 mutex_lock(&sysinfo_lock); 564 571
Note:
See TracChangeset
for help on using the changeset viewer.