Changeset 5a6cc679 in mainline for uspace/lib/drv/generic/remote_usb.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usb.c

    r132ab5d1 r5a6cc679  
    7070 * @return Error code.
    7171 */
    72 int usb_get_my_description(async_exch_t *exch, usb_device_desc_t *desc)
     72errno_t usb_get_my_description(async_exch_t *exch, usb_device_desc_t *desc)
    7373{
    7474        if (!exch)
     
    7777        usb_device_desc_t tmp_desc;
    7878
    79         const int ret = async_req_1_5(exch, DEV_IFACE_ID(USB_DEV_IFACE),
     79        const errno_t ret = async_req_1_5(exch, DEV_IFACE_ID(USB_DEV_IFACE),
    8080            IPC_M_USB_GET_MY_DESCRIPTION,
    8181            (sysarg_t *) &tmp_desc.address,
     
    114114
    115115        usb_device_desc_t desc;
    116         const int ret = usb_iface->get_my_description(fun, &desc);
     116        const errno_t ret = usb_iface->get_my_description(fun, &desc);
    117117        if (ret != EOK) {
    118118                async_answer_0(callid, ret);
Note: See TracChangeset for help on using the changeset viewer.