Changeset eb13ef8 in mainline for uspace/lib/usbvirt/src/ipc_dev.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/lib/usbvirt/src/ipc_dev.c

    rbb97118 reb13ef8  
    133133static void ipc_control_write(usbvirt_device_t *dev, ipc_call_t *icall)
    134134{
    135         size_t data_buffer_len = IPC_GET_ARG1(*icall);
     135        size_t data_buffer_len = IPC_GET_ARG1(icall);
    136136        errno_t rc;
    137137
     
    177177    usb_transfer_type_t transfer_type, ipc_call_t *icall)
    178178{
    179         usb_endpoint_t endpoint = IPC_GET_ARG1(*icall);
     179        usb_endpoint_t endpoint = IPC_GET_ARG1(icall);
    180180
    181181        errno_t rc;
     
    220220    usb_transfer_type_t transfer_type, ipc_call_t *icall)
    221221{
    222         usb_endpoint_t endpoint = IPC_GET_ARG1(*icall);
     222        usb_endpoint_t endpoint = IPC_GET_ARG1(icall);
    223223
    224224        void *data_buffer = NULL;
     
    250250bool usbvirt_ipc_handle_call(usbvirt_device_t *dev, ipc_call_t *call)
    251251{
    252         switch (IPC_GET_IMETHOD(*call)) {
     252        switch (IPC_GET_IMETHOD(call)) {
    253253        case IPC_M_USBVIRT_GET_NAME:
    254254                ipc_get_name(dev, call);
Note: See TracChangeset for help on using the changeset viewer.