Changeset d1582b50 in mainline for kernel/generic/src


Ignore:
Timestamp:
2020-12-14T20:41:53Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02fe42e
Parents:
1382446
git-author:
Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
git-committer:
Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
Message:

Fix spacing in single-line comments using latest ccheck

This found incorrectly formatted section comments (with blocks of
asterisks or dashes). I strongly believe against using section comments
but I am not simply removing them since that would probably be
controversial.

Location:
kernel/generic/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/adt/hash_table.c

    r1382446 rd1582b50  
    331331}
    332332
    333 /** Removes an item already present in the table. The item must be in the table.*/
     333/** Removes an item already present in the table. The item must be in the table. */
    334334void hash_table_remove_item(hash_table_t *h, ht_link_t *item)
    335335{
     
    393393}
    394394
    395 /** Allocates and initializes the desired number of buckets. True if successful.*/
     395/** Allocates and initializes the desired number of buckets. True if successful. */
    396396static bool alloc_table(size_t bucket_cnt, list_t **pbuckets)
    397397{
  • kernel/generic/src/mm/as.c

    r1382446 rd1582b50  
    20572057        /* Check if A is adjacent to the new interval */
    20582058        adj_a = (a != NULL) && (a->page + P2SZ(a->count) == page);
    2059         /* Check if the new interval is adjacent to B*/
     2059        /* Check if the new interval is adjacent to B */
    20602060        adj_b = (b != NULL) && page + P2SZ(count) == b->page;
    20612061
  • kernel/generic/src/mm/frame.c

    r1382446 rd1582b50  
    8585}
    8686
    87 /*******************/
    88 /* Zones functions */
    89 /*******************/
     87/*
     88 * Zones functions
     89 */
    9090
    9191/** Insert-sort zone into zones list.
     
    341341}
    342342
    343 /******************/
    344 /* Zone functions */
    345 /******************/
     343/*
     344 * Zone functions
     345 */
    346346
    347347/** Return frame from zone. */
     
    781781}
    782782
    783 /*******************/
    784 /* Frame functions */
    785 /*******************/
     783/*
     784 * Frame functions
     785 */
    786786
    787787/** Set parent of frame. */
  • kernel/generic/src/mm/slab.c

    r1382446 rd1582b50  
    151151#endif
    152152
    153 /**************************************/
    154 /* Slab allocation functions          */
    155 /**************************************/
     153/*
     154 * Slab allocation functions
     155 */
    156156
    157157/** Allocate frames for slab space and initialize
     
    223223}
    224224
    225 /******************/
    226 /* Slab functions */
    227 /******************/
     225/*
     226 * Slab functions
     227 */
    228228
    229229/** Return object to slab and call a destructor
     
    323323}
    324324
    325 /****************************/
    326 /* CPU-Cache slab functions */
    327 /****************************/
     325/*
     326 * CPU-Cache slab functions
     327 */
    328328
    329329/** Find a full magazine in cache, take it from list and return it
     
    531531}
    532532
    533 /************************/
    534 /* Slab cache functions */
    535 /************************/
     533/*
     534 * Slab cache functions
     535 */
    536536
    537537/** Return number of objects that fit in certain cache size
  • kernel/generic/src/udebug/udebug_ops.c

    r1382446 rd1582b50  
    123123        /* Now verify that the thread belongs to the current task. */
    124124        if (thread->task != TASK) {
    125                 /* No such thread belonging this task*/
     125                /* No such thread belonging this task */
    126126                mutex_unlock(&TASK->udebug.lock);
    127127                return ENOENT;
Note: See TracChangeset for help on using the changeset viewer.