Changeset a1732929 in mainline for uspace/drv/bus/usb/vhc/main.c
- Timestamp:
- 2018-01-15T17:04:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ff99e8
- Parents:
- c1a966e
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:32)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/vhc/main.c
rc1a966e ra1732929 77 77 int ret = hcd_ddf_setup_hc(dev, sizeof(vhc_data_t)); 78 78 if (ret != EOK) { 79 usb_log_error("Failed to init HCD structures: %s. \n",79 usb_log_error("Failed to init HCD structures: %s.", 80 80 str_error(ret)); 81 81 return ret; … … 90 90 ret = vhc_control_node(dev, &ctl_fun); 91 91 if (ret != EOK) { 92 usb_log_error("Failed to setup control node. \n");92 usb_log_error("Failed to setup control node."); 93 93 return ret; 94 94 } … … 97 97 ret = vhc_virtdev_plug_hub(vhc, &vhc->hub, NULL, 0); 98 98 if (ret != EOK) { 99 usb_log_error("Failed to plug root hub: %s. \n", str_error(ret));99 usb_log_error("Failed to plug root hub: %s.", str_error(ret)); 100 100 ddf_fun_destroy(ctl_fun); 101 101 return ret; … … 108 108 ret = hcd_setup_virtual_root_hub(&vhc->base); 109 109 if (ret != EOK) { 110 usb_log_error("Failed to init VHC root hub: %s \n",110 usb_log_error("Failed to init VHC root hub: %s", 111 111 str_error(ret)); 112 112 // TODO do something here...
Note:
See TracChangeset
for help on using the changeset viewer.