Changeset ab87db5 in mainline for uspace/srv/net/ethip/ethip_nic.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/ethip_nic.c

    rbc417660 rab87db5  
    299299                async_get_call(&call);
    300300
    301                 if (!IPC_GET_IMETHOD(call)) {
     301                if (!ipc_get_imethod(&call)) {
    302302                        async_answer_0(&call, EOK);
    303303                        return;
    304304                }
    305305
    306                 switch (IPC_GET_IMETHOD(call)) {
     306                switch (ipc_get_imethod(&call)) {
    307307                case NIC_EV_ADDR_CHANGED:
    308308                        ethip_nic_addr_changed(nic, &call);
     
    315315                        break;
    316316                default:
    317                         log_msg(LOG_DEFAULT, LVL_DEBUG, "unknown IPC method: %" PRIun, IPC_GET_IMETHOD(call));
     317                        log_msg(LOG_DEFAULT, LVL_DEBUG, "unknown IPC method: %" PRIun, ipc_get_imethod(&call));
    318318                        async_answer_0(&call, ENOTSUP);
    319319                }
Note: See TracChangeset for help on using the changeset viewer.