Changeset eb13ef8 in mainline for uspace/drv/hid/adb-kbd/adb-kbd.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (6 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/adb-kbd/adb-kbd.c

    rbb97118 reb13ef8  
    141141                errno_t retval = EOK;
    142142
    143                 if (!IPC_GET_IMETHOD(call)) {
     143                if (!IPC_GET_IMETHOD(&call)) {
    144144                        async_answer_0(&call, EOK);
    145145                        return;
    146146                }
    147147
    148                 switch (IPC_GET_IMETHOD(call)) {
     148                switch (IPC_GET_IMETHOD(&call)) {
    149149                case ADB_REG_NOTIF:
    150                         adb_kbd_reg0_data(kbd, IPC_GET_ARG1(call));
     150                        adb_kbd_reg0_data(kbd, IPC_GET_ARG1(&call));
    151151                        break;
    152152                default:
     
    205205        while (true) {
    206206                async_get_call(&call);
    207                 method = IPC_GET_IMETHOD(call);
     207                method = IPC_GET_IMETHOD(&call);
    208208
    209209                if (!method) {
Note: See TracChangeset for help on using the changeset viewer.