Changeset 5a6cc679 in mainline for uspace/lib/drv/generic/remote_usb.c
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usb.c
r132ab5d1 r5a6cc679 70 70 * @return Error code. 71 71 */ 72 int usb_get_my_description(async_exch_t *exch, usb_device_desc_t *desc)72 errno_t usb_get_my_description(async_exch_t *exch, usb_device_desc_t *desc) 73 73 { 74 74 if (!exch) … … 77 77 usb_device_desc_t tmp_desc; 78 78 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), 80 80 IPC_M_USB_GET_MY_DESCRIPTION, 81 81 (sysarg_t *) &tmp_desc.address, … … 114 114 115 115 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); 117 117 if (ret != EOK) { 118 118 async_answer_0(callid, ret);
Note:
See TracChangeset
for help on using the changeset viewer.