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

    rbb97118 reb13ef8  
    9191        log_msg(LOG_DEFAULT, LVL_DEBUG, "dhcp_link_add_srv()");
    9292
    93         link_id = IPC_GET_ARG1(*call);
     93        link_id = IPC_GET_ARG1(call);
    9494
    9595        rc = dhcpsrv_link_add(link_id);
     
    104104        log_msg(LOG_DEFAULT, LVL_DEBUG, "dhcp_link_remove_srv()");
    105105
    106         link_id = IPC_GET_ARG1(*call);
     106        link_id = IPC_GET_ARG1(call);
    107107
    108108        rc = dhcpsrv_link_remove(link_id);
     
    117117        log_msg(LOG_DEFAULT, LVL_DEBUG, "dhcp_discover_srv()");
    118118
    119         link_id = IPC_GET_ARG1(*call);
     119        link_id = IPC_GET_ARG1(call);
    120120
    121121        rc = dhcpsrv_discover(link_id);
     
    133133                ipc_call_t call;
    134134                async_get_call(&call);
    135                 sysarg_t method = IPC_GET_IMETHOD(call);
     135                sysarg_t method = IPC_GET_IMETHOD(&call);
    136136
    137137                if (!method) {
Note: See TracChangeset for help on using the changeset viewer.