Changeset eb13ef8 in mainline for uspace/srv/hid/input/input.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (5 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/srv/hid/input/input.c

    rbb97118 reb13ef8  
    334334                async_get_call(&call);
    335335
    336                 if (!IPC_GET_IMETHOD(call)) {
     336                if (!IPC_GET_IMETHOD(&call)) {
    337337                        if (client->sess != NULL) {
    338338                                async_hangup(client->sess);
     
    353353                                async_answer_0(&call, ELIMIT);
    354354                } else {
    355                         switch (IPC_GET_IMETHOD(call)) {
     355                        switch (IPC_GET_IMETHOD(&call)) {
    356356                        case INPUT_ACTIVATE:
    357357                                active_client = client;
     
    368368static void kconsole_event_handler(ipc_call_t *call, void *arg)
    369369{
    370         if (IPC_GET_ARG1(*call)) {
     370        if (IPC_GET_ARG1(call)) {
    371371                /* Kernel console activated */
    372372                active = false;
Note: See TracChangeset for help on using the changeset viewer.