Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 47e00b83 in mainline


Ignore:
Timestamp:
2018-05-15T08:32:36Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
8800b13, fac0ac7
Parents:
3a26925
git-author:
Jiri Svoboda <jiri@…> (2018-05-14 17:31:01)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-15 08:32:36)
Message:

Fix some block comments (found by ccheck).

Files:
9 edited

Legend:

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

    r3a26925 r47e00b83  
    423423                                 * Yes, so clear go. As active == false,
    424424                                 * this doesn't affect anything.
    425                                  (
    426425                                 */
    427426                                thread->udebug.go = false;
  • uspace/app/bdsh/cmds/modules/printf/printf.c

    r3a26925 r47e00b83  
    6565 * '%u' - unsigned integer.
    6666 * '%s' - null-terminated string.
    67  *****
     67 *
    6868 * @param ch  formatted flag.
    6969 * @param arg string with data to print.
     
    9191 * Currently available characters are:
    9292 * '\n' - new line.
    93  *****
     93 *
    9494 * @param ch  Control character.
    9595 */
     
    113113 * %u - print an unsigned integer
    114114 * %s - print a null terminated string
    115  *****
     115 *
    116116 * Accepted output controls:
    117117 * \n - new line
  • uspace/drv/audio/hdaudio/stream.c

    r3a26925 r47e00b83  
    9292
    9393        /* Allocate buffers */
    94 /*
     94#if 0
    9595        for (i = 0; i < bufs->nbuffers; i++) {
    9696                buffer = AS_AREA_ANY;
     
    116116                }
    117117        }
    118 */
     118#endif
    119119        /* audio_pcm_iface requires a single contiguous buffer */
    120120        buffer = AS_AREA_ANY;
     
    134134                    (long long unsigned)(uintptr_t)bufs->buf[i],
    135135                    (void *)bufs->buf_phys[i]);
    136 /*              k = 0;
    137                 for (j = 0; j < bufs->bufsize / 2; j++) {
    138                         int16_t *bp = bufs->buf[i];
    139                         bp[j] = (k > 128) ? -10000 : 10000;
    140                         ++k;
    141                         if (k >= 256)
    142                                 k = 0;
    143                 }
    144 */
    145136        }
    146137
  • uspace/lib/c/generic/io/con_srv.c

    r3a26925 r47e00b83  
    352352                return ENOMEM;
    353353
    354 /*      async_sess_t *sess = async_callback_receive(EXCHANGE_SERIALIZE);
    355         if (sess == NULL)
    356                 return ENOMEM;
    357 
    358         srv->client_sess = sess;
    359 */
    360354        srv->client_sess = NULL;
    361355
  • uspace/lib/ext4/src/extent.c

    r3a26925 r47e00b83  
    954954 * to some existing extent or creates new extents.
    955955 * It includes possible extent tree modifications (splitting).
    956  *<
     956 *
    957957 * @param inode_ref I-node to append block to
    958958 * @param iblock    Output logical number of newly allocated block
  • uspace/lib/minix/minix.h

    r3a26925 r47e00b83  
    105105        uint32_t        s_max_file_size;
    106106        /*
    107          *Magic number used to recognize MinixFS
    108          *and to detect on-disk endianness
     107         * Magic number used to recognize MinixFS
     108         * and to detect on-disk endianness
    109109         */
    110110        uint16_t        s_magic;
     
    135135        uint32_t        s_nzones;
    136136        /*
    137          *Magic number used to recognize MinixFS
    138          *and to detect on-disk endianness
     137         * Magic number used to recognize MinixFS
     138         * and to detect on-disk endianness
    139139         */
    140140        int16_t         s_magic;
  • uspace/lib/usbdev/include/usb/dev/driver.h

    r3a26925 r47e00b83  
    6969         * When the driver expect single interrupt in endpoint,
    7070         * the initialization may look like this:
    71 \code
    72 static usb_endpoint_description_t poll_endpoint_description = {
    73         .transfer_type = USB_TRANSFER_INTERRUPT,
    74         .direction = USB_DIRECTION_IN,
    75         .interface_class = USB_CLASS_HUB,
    76         .interface_subclass = 0,
    77         .interface_protocol = 0,
    78         .flags = 0
    79 };
     71         *
     72         * @code
     73         * static usb_endpoint_description_t poll_endpoint_description = {
     74         *      .transfer_type = USB_TRANSFER_INTERRUPT,
     75         *      .direction = USB_DIRECTION_IN,
     76         *      .interface_class = USB_CLASS_HUB,
     77         *      .interface_subclass = 0,
     78         *      .interface_protocol = 0,
     79         *      .flags = 0
     80         * };
    8081
    81 static usb_endpoint_description_t *hub_endpoints[] = {
    82         &poll_endpoint_description,
    83         NULL
    84 };
     82         * static usb_endpoint_description_t *hub_endpoints[] = {
     83         *      &poll_endpoint_description,
     84         *      NULL
     85         * };
    8586
    86 static usb_driver_t hub_driver = {
    87         .endpoints = hub_endpoints,
    88         ...
    89 };
    90 \endcode
     87         * static usb_driver_t hub_driver = {
     88         *      .endpoints = hub_endpoints,
     89         *      ...
     90         * };
     91         * @endcode
    9192         */
    9293        const usb_endpoint_description_t **endpoints;
  • uspace/lib/usbhid/src/hiddescriptor.c

    r3a26925 r47e00b83  
    203203                if (USB_HID_ITEM_FLAG_VARIABLE(report_item->item_flags) == 0) {
    204204                        /*
    205                         Store usage array. The Correct Usage Page and Usage is
    206                         depending on data in report and will be filled later
    207                         */
     205                         * Store usage array. The Correct Usage Page and Usage is
     206                         * depending on data in report and will be filled later
     207                         */
    208208                        field->usage = 0;
    209209                        field->usage_page = 0; //report_item->usage_page;
  • uspace/srv/fs/mfs/mfs_rw.c

    r3a26925 r47e00b83  
    5252
    5353/**Given the position in the file expressed in
    54  *bytes, this function returns the on-disk block
    55  *relative to that position.
     54 * bytes, this function returns the on-disk block
     55 * relative to that position.
    5656 *
    5757 * @param b     Pointer to a 32bit number where the block number will be stored
Note: See TracChangeset for help on using the changeset viewer.