Changeset 6ff23ff in mainline for uspace/drv


Ignore:
Timestamp:
2018-05-17T13:46:56Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f8772d4
Parents:
7c3fb9b
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 18:44:36)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 13:46:56)
Message:

More comment fixing (ccheck).

Location:
uspace/drv/hid
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/atkbd/atkbd.c

    r7c3fb9b r6ff23ff  
    309309                async_answer_0(icall_handle, ENOTSUP);
    310310                break;
    311         /*
    312          * This might be ugly but async_callback_receive_start makes no
    313          * difference for incorrect call and malloc failure.
    314          */
    315311        case IPC_M_CONNECT_TO_ME:
     312                /*
     313                 * This might be ugly but async_callback_receive_start makes no
     314                 * difference for incorrect call and malloc failure.
     315                 */
    316316                sess = async_callback_receive_start(EXCHANGE_SERIALIZE, icall);
    317317
  • uspace/drv/hid/ps2mouse/ps2mouse.c

    r7c3fb9b r6ff23ff  
    324324
    325325                /* Buttons */
    326                 /* NOTE: Parsing 4th and 5th button works even if this extension
     326                /*
     327                 * NOTE: Parsing 4th and 5th button works even if this extension
    327328                 * is not supported and whole 4th byte should be interpreted
    328329                 * as Z-axis movement. the upper 4 bits are just a sign
     
    330331                 * (i.e no change since that is the default) and - sign fails
    331332                 * the "imb" condition. Thus 4th and 5th buttons are never
    332                  * down on wheel only extension. */
     333                 * down on wheel only extension.
     334                 */
    333335                const bool imb = (packet[3] & INTELLIMOUSE_ALWAYS_ZERO) == 0;
    334336                const bool status[] = {
     
    411413
    412414        switch (method) {
    413         /* This might be ugly but async_callback_receive_start makes no
    414          * difference for incorrect call and malloc failure. */
    415415        case IPC_M_CONNECT_TO_ME:
     416                /*
     417                 * This might be ugly but async_callback_receive_start makes no
     418                 * difference for incorrect call and malloc failure.
     419                 */
    416420                sess = async_callback_receive_start(EXCHANGE_SERIALIZE, icall);
    417421                /* Probably ENOMEM error, try again. */
  • uspace/drv/hid/xtkbd/xtkbd.c

    r7c3fb9b r6ff23ff  
    364364                async_answer_0(icall_handle, rc);
    365365                break;
    366         /*
    367          * This might be ugly but async_callback_receive_start makes no
    368          * difference for incorrect call and malloc failure.
    369          */
    370366        case IPC_M_CONNECT_TO_ME:
     367                /*
     368                 * This might be ugly but async_callback_receive_start makes no
     369                 * difference for incorrect call and malloc failure.
     370                 */
    371371                sess = async_callback_receive_start(EXCHANGE_SERIALIZE, icall);
    372372
Note: See TracChangeset for help on using the changeset viewer.