Changeset 7c3fb9b in mainline for kernel/generic/src/sysinfo/sysinfo.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/sysinfo.c

    rfac0ac7 r7c3fb9b  
    232232                        i++;
    233233
    234                 /* Check for perfect name and path match
     234                /*
     235                 * Check for perfect name and path match
    235236                 * -> item is already present.
    236237                 */
     
    251252                                    &(cur->subtree.table));
    252253                        default:
    253                                 /* Subtree items handled by a function, this
     254                                /*
     255                                 * Subtree items handled by a function, this
    254256                                 * cannot be overriden by a constant item.
    255257                                 */
     
    258260                }
    259261
    260                 /* No match and no more siblings to check
     262                /*
     263                 * No match and no more siblings to check
    261264                 * -> create a new sibling item.
    262265                 */
     
    457460        sysinfo_item_t *item = sysinfo_create_path(name, root);
    458461
    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         */
    461466        if ((item != NULL) && (item->subtree_type != SYSINFO_SUBTREE_TABLE)) {
    462467                item->subtree_type = SYSINFO_SUBTREE_FUNCTION;
     
    559564void sysinfo_dump(sysinfo_item_t *root)
    560565{
    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         */
    563570        mutex_lock(&sysinfo_lock);
    564571
Note: See TracChangeset for help on using the changeset viewer.