Changeset eb13ef8 in mainline for uspace/srv/net/inetsrv/inetsrv.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/srv/net/inetsrv/inetsrv.c

    rbb97118 reb13ef8  
    233233        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_get_srcaddr_srv()");
    234234
    235         uint8_t tos = IPC_GET_ARG1(*icall);
     235        uint8_t tos = IPC_GET_ARG1(icall);
    236236
    237237        ipc_call_t call;
     
    291291        inet_dgram_t dgram;
    292292
    293         dgram.iplink = IPC_GET_ARG1(*icall);
    294         dgram.tos = IPC_GET_ARG2(*icall);
    295 
    296         uint8_t ttl = IPC_GET_ARG3(*icall);
    297         int df = IPC_GET_ARG4(*icall);
     293        dgram.iplink = IPC_GET_ARG1(icall);
     294        dgram.tos = IPC_GET_ARG2(icall);
     295
     296        uint8_t ttl = IPC_GET_ARG3(icall);
     297        int df = IPC_GET_ARG4(icall);
    298298
    299299        ipc_call_t call;
     
    352352        sysarg_t proto;
    353353
    354         proto = IPC_GET_ARG1(*call);
     354        proto = IPC_GET_ARG1(call);
    355355        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_set_proto_srv(%lu)", (unsigned long) proto);
    356356
     
    397397                ipc_call_t call;
    398398                async_get_call(&call);
    399                 sysarg_t method = IPC_GET_IMETHOD(call);
     399                sysarg_t method = IPC_GET_IMETHOD(&call);
    400400
    401401                if (!method) {
Note: See TracChangeset for help on using the changeset viewer.