Changeset eb13ef8 in mainline for uspace/drv/hid/xtkbd/xtkbd.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fafb8e5
Parents:
bb97118
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Change IPC_GET_* and IPC_SET_* to accept pointer instead of lvalue

File:
1 edited

Legend:

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

    rbb97118 reb13ef8  
    344344static void default_connection_handler(ddf_fun_t *fun, ipc_call_t *icall)
    345345{
    346         const sysarg_t method = IPC_GET_IMETHOD(*icall);
     346        const sysarg_t method = IPC_GET_IMETHOD(icall);
    347347        xt_kbd_t *kbd = ddf_dev_data_get(ddf_fun_get_dev(fun));
    348348        unsigned mods;
     
    355355                 * assume AT keyboard with Scan Code Set 1.
    356356                 */
    357                 mods = IPC_GET_ARG1(*icall);
     357                mods = IPC_GET_ARG1(icall);
    358358                const uint8_t status = 0 |
    359359                    ((mods & KM_CAPS_LOCK) ? LI_CAPS : 0) |
Note: See TracChangeset for help on using the changeset viewer.