Changeset ae7d03c in mainline for uspace/srv


Ignore:
Timestamp:
2018-05-10T13:39:19Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e8975278
Parents:
b277bef
git-author:
Jiri Svoboda <jiri@…> (2018-05-10 07:38:12)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-10 13:39:19)
Message:

Selected ccheck-proposed comment fixes.

Location:
uspace/srv
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/cdfs/cdfs_ops.c

    rb277bef rae7d03c  
    933933                if (sequence_nr != 1) {
    934934                        /*
    935                          * We only support the first disc
     935                         * We only support the first disc
    936936                         * in multi-disc sets.
    937937                         */
  • uspace/srv/fs/exfat/exfat_fat.c

    rb277bef rae7d03c  
    148148                if (nodep->currc_cached_valid && bn >= nodep->currc_cached_bn) {
    149149                        /*
    150                         * We can start with the cluster cached by the previous call to
    151                         * fat_block_get().
    152                         */
     150                         * We can start with the cluster cached by the previous call to
     151                         * fat_block_get().
     152                         */
    153153                        firstc = nodep->currc_cached_value;
    154154                        relbn -= (nodep->currc_cached_bn / SPC(bs)) * SPC(bs);
  • uspace/srv/fs/fat/fat_fat.c

    rb277bef rae7d03c  
    140140        if (((((nodep->size - 1) / BPS(bs)) / SPC(bs)) == bn / SPC(bs)) &&
    141141            nodep->lastc_cached_valid) {
    142                 /*
     142                /*
    143143                 * This is a request to read a block within the last cluster
    144144                 * when fortunately we have the last cluster number cached.
     
    321321                        }
    322322                        /*
    323                         * Combining value with last byte of current sector and
    324                         * first byte of next sector
    325                         */
     323                         * Combining value with last byte of current sector and
     324                         * first byte of next sector
     325                         */
    326326                        byte2 = ((uint8_t *) b1->data)[0];
    327327
  • uspace/srv/net/slip/slip.c

    rb277bef rae7d03c  
    277277
    278278                /*
    279                  * We have reached the limit of our MTU. Regardless of whether
    280                  * the datagram is properly ended with SLIP_END, pass it along.
    281                  * If the next character is really SLIP_END, nothing
    282                  * catastrophic happens. The algorithm will just see an
    283                  * artificially empty SLIP datagram and life will go on.
    284                  */
     279                 * We have reached the limit of our MTU. Regardless of whether
     280                 * the datagram is properly ended with SLIP_END, pass it along.
     281                 * If the next character is really SLIP_END, nothing
     282                 * catastrophic happens. The algorithm will just see an
     283                 * artificially empty SLIP datagram and life will go on.
     284                 */
    285285
    286286        pass:
     
    407407
    408408        /*
    409          * We assume that our registration at the location service will be
    410          * cleaned up automatically as the service (i.e. this task) terminates.
    411          */
     409         * We assume that our registration at the location service will be
     410         * cleaned up automatically as the service (i.e. this task) terminates.
     411         */
    412412
    413413        return rc;
  • uspace/srv/net/tcp/segment.c

    rb277bef rae7d03c  
    9191/** Create a control-only segment.
    9292 *
    93   * @return     Segment
     93 * @return      Segment
    9494 */
    9595tcp_segment_t *tcp_segment_make_ctrl(tcp_control_t ctrl)
     
    134134/** Create a control segment.
    135135 *
    136   * @return     Segment
     136 * @return      Segment
    137137 */
    138138tcp_segment_t *tcp_segment_make_data(tcp_control_t ctrl, void *data,
  • uspace/srv/net/tcp/service.c

    rb277bef rae7d03c  
    509509 *
    510510 * @return EOK on success or an error code
    511 */
     511 */
    512512static errno_t tcp_listener_create_impl(tcp_client_t *client, inet_ep_t *ep,
    513513    sysarg_t *rlst_id)
  • uspace/srv/net/udp/assoc.c

    rb277bef rae7d03c  
    358358                if (rc != EOK) {
    359359                        log_msg(LOG_DEFAULT, LVL_DEBUG, "Out of memory. Message dropped.");
    360                 /* XXX Generate ICMP error? */
     360                        /* XXX Generate ICMP error? */
    361361                }
    362362        }
Note: See TracChangeset for help on using the changeset viewer.