Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbvirt/src/ipc_hc.c

    r25a179e rdb51a6a6  
    5050 * @param data_buffer Data buffer (DATA stage of control transfer).
    5151 * @param data_buffer_size Size of data buffer in bytes.
    52  * @param data_transfered_size Number of actually transferred bytes.
     52 * @param data_transferred_size Number of actually transferred bytes.
    5353 *
    5454 * @return Error code.
     
    5757int usbvirt_ipc_send_control_read(async_sess_t *sess, void *setup_buffer,
    5858    size_t setup_buffer_size, void *data_buffer, size_t data_buffer_size,
    59     size_t *data_transfered_size)
     59    size_t *data_transferred_size)
    6060{
    6161        if (!sess)
     
    9595        }
    9696       
    97         int data_request_rc;
    98         int opening_request_rc;
     97        sysarg_t data_request_rc;
     98        sysarg_t opening_request_rc;
    9999        async_wait_for(data_request, &data_request_rc);
    100100        async_wait_for(opening_request, &opening_request_rc);
     
    111111                return (int) opening_request_rc;
    112112       
    113         if (data_transfered_size != NULL)
    114                 *data_transfered_size = IPC_GET_ARG2(data_request_call);
     113        if (data_transferred_size != NULL)
     114                *data_transferred_size = IPC_GET_ARG2(data_request_call);
    115115       
    116116        return EOK;
     
    168168        async_exchange_end(exch);
    169169       
    170         int opening_request_rc;
     170        sysarg_t opening_request_rc;
    171171        async_wait_for(opening_request, &opening_request_rc);
    172172       
     
    230230        }
    231231       
    232         int data_request_rc;
    233         int opening_request_rc;
     232        sysarg_t data_request_rc;
     233        sysarg_t opening_request_rc;
    234234        async_wait_for(data_request, &data_request_rc);
    235235        async_wait_for(opening_request, &opening_request_rc);
     
    305305        }
    306306       
    307         int opening_request_rc;
     307        sysarg_t opening_request_rc;
    308308        async_wait_for(opening_request, &opening_request_rc);
    309309       
Note: See TracChangeset for help on using the changeset viewer.