Changeset a821f05 in mainline
- Timestamp:
- 2018-02-03T10:38:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aa148b3
- Parents:
- 860bf94
- Location:
- uspace/drv/bus/usb/usbmid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmid/main.c
r860bf94 ra821f05 56 56 } 57 57 58 static int destroy_interfaces(usb_mid_t *usb_mid)58 static errno_t destroy_interfaces(usb_mid_t *usb_mid) 59 59 { 60 int ret = EOK;60 errno_t ret = EOK; 61 61 62 62 while (!list_empty(&usb_mid->interface_list)) { … … 66 66 usbmid_interface_t *iface = usbmid_interface_from_link(item); 67 67 68 const int pret = usbmid_interface_destroy(iface);68 const errno_t pret = usbmid_interface_destroy(iface); 69 69 if (pret != EOK) { 70 70 usb_log_error("Failed to remove child `%s': %s", … … 139 139 } 140 140 141 static int usbmid_function_online(ddf_fun_t *fun)141 static errno_t usbmid_function_online(ddf_fun_t *fun) 142 142 { 143 143 usb_device_t *usb_dev = ddf_dev_data_get(ddf_fun_get_dev(fun)); -
uspace/drv/bus/usb/usbmid/usbmid.c
r860bf94 ra821f05 120 120 * class name something humanly understandable. 121 121 */ 122 int ret = asprintf(&child_name, "%s%hhu",122 errno_t ret = asprintf(&child_name, "%s%hhu", 123 123 usb_str_class(interface_descriptor->interface_class), 124 124 interface_descriptor->interface_number);
Note:
See TracChangeset
for help on using the changeset viewer.