Changeset df6ded8 in mainline for uspace/drv/block/usbmast/bo_trans.c
- Timestamp:
- 2018-02-28T16:37:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b20da0
- Parents:
- f5e5f73 (diff), b2dca8de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermar <jakub@…> (2018-02-28 16:06:42)
- git-committer:
- Jakub Jermar <jakub@…> (2018-02-28 16:37:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/usbmast/bo_trans.c
rf5e5f73 rdf6ded8 90 90 str_error(rc)); 91 91 if (rc != EOK) { 92 usb_log_error("Bulk out write failed: %s \n", str_error(rc));92 usb_log_error("Bulk out write failed: %s", str_error(rc)); 93 93 return EIO; 94 94 } … … 154 154 case cbs_failed: 155 155 cmd->status = CMDS_FAILED; 156 usb_log_error("CBS Failed. \n");156 usb_log_error("CBS Failed."); 157 157 break; 158 158 case cbs_phase_error: 159 usb_log_error("CBS phase error. \n");159 usb_log_error("CBS phase error."); 160 160 rc = EIO; 161 161 break; 162 162 default: 163 usb_log_error("CBS other error. \n");163 usb_log_error("CBS other error."); 164 164 rc = EIO; 165 165 break; … … 168 168 const size_t residue = uint32_usb2host(csw.dCSWDataResidue); 169 169 if (residue > dbuf_size) { 170 usb_log_error("Residue > buffer size (%zu > %zu). \n",170 usb_log_error("Residue > buffer size (%zu > %zu).", 171 171 residue, dbuf_size); 172 172 return EIO;
Note:
See TracChangeset
for help on using the changeset viewer.