Changes in uspace/drv/block/usbmast/bo_trans.c [b7fd2a0:5a6cc679] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/usbmast/bo_trans.c
rb7fd2a0 r5a6cc679 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.