Changeset 5a6cc679 in mainline for uspace/drv/block/usbmast/bo_trans.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/drv/block/usbmast/bo_trans.c
r132ab5d1 r5a6cc679 58 58 * @return Error code 59 59 */ 60 int usb_massstor_cmd(usbmast_fun_t *mfun, uint32_t tag, scsi_cmd_t *cmd)61 { 62 int rc;60 errno_t usb_massstor_cmd(usbmast_fun_t *mfun, uint32_t tag, scsi_cmd_t *cmd) 61 { 62 errno_t rc; 63 63 64 64 if (cmd->data_in && cmd->data_out) … … 192 192 * @return Error code 193 193 */ 194 int usb_massstor_reset(usbmast_dev_t *mdev)194 errno_t usb_massstor_reset(usbmast_dev_t *mdev) 195 195 { 196 196 return usb_control_request_set( … … 234 234 uint8_t max_lun; 235 235 size_t data_recv_len; 236 int rc = usb_control_request_get(236 errno_t rc = usb_control_request_get( 237 237 usb_device_get_default_pipe(mdev->usb_dev), 238 238 USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE,
Note:
See TracChangeset
for help on using the changeset viewer.