Changeset eb13ef8 in mainline for uspace/drv/bus/pci/pciintel/ctl.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/drv/bus/pci/pciintel/ctl.c

    rbb97118 reb13ef8  
    6565                async_get_call(&call);
    6666
    67                 if (!IPC_GET_IMETHOD(call))
    68                         break;
    69 
    70                 switch (IPC_GET_IMETHOD(call)) {
     67                if (!IPC_GET_IMETHOD(&call))
     68                        break;
     69
     70                switch (IPC_GET_IMETHOD(&call)) {
    7171                case PCI_GET_DEVICES:
    7272                        pci_ctl_get_devices_srv(bus, &call);
     
    140140        errno_t rc;
    141141
    142         dev_handle = IPC_GET_ARG1(*icall);
     142        dev_handle = IPC_GET_ARG1(icall);
    143143        log_msg(LOG_DEFAULT, LVL_DEBUG, "pci_dev_get_info_srv(%zu)",
    144144            dev_handle);
Note: See TracChangeset for help on using the changeset viewer.