Changeset eb13ef8 in mainline for uspace/srv/hid/input/ctl/kbdev.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/ctl/kbdev.c

    rbb97118 reb13ef8  
    160160                async_get_call(&call);
    161161
    162                 if (!IPC_GET_IMETHOD(call)) {
     162                if (!IPC_GET_IMETHOD(&call)) {
    163163                        async_answer_0(&call, EOK);
    164164                        kbdev_destroy(kbdev);
     
    166166                }
    167167
    168                 switch (IPC_GET_IMETHOD(call)) {
     168                switch (IPC_GET_IMETHOD(&call)) {
    169169                case KBDEV_EVENT:
    170170                        /* Got event from keyboard device */
    171171                        retval = 0;
    172                         type = IPC_GET_ARG1(call);
    173                         key = IPC_GET_ARG2(call);
     172                        type = IPC_GET_ARG1(&call);
     173                        key = IPC_GET_ARG2(&call);
    174174                        kbd_push_event(kbdev->kbd_dev, type, key);
    175175                        break;
Note: See TracChangeset for help on using the changeset viewer.