Changeset 5a6cc679 in mainline for uspace/drv/block/usbmast/bo_trans.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/usbmast/bo_trans.c

    r132ab5d1 r5a6cc679  
    5858 * @return              Error code
    5959 */
    60 int usb_massstor_cmd(usbmast_fun_t *mfun, uint32_t tag, scsi_cmd_t *cmd)
    61 {
    62         int rc;
     60errno_t usb_massstor_cmd(usbmast_fun_t *mfun, uint32_t tag, scsi_cmd_t *cmd)
     61{
     62        errno_t rc;
    6363
    6464        if (cmd->data_in && cmd->data_out)
     
    192192 * @return              Error code
    193193 */
    194 int usb_massstor_reset(usbmast_dev_t *mdev)
     194errno_t usb_massstor_reset(usbmast_dev_t *mdev)
    195195{
    196196        return usb_control_request_set(
     
    234234        uint8_t max_lun;
    235235        size_t data_recv_len;
    236         int rc = usb_control_request_get(
     236        errno_t rc = usb_control_request_get(
    237237            usb_device_get_default_pipe(mdev->usb_dev),
    238238            USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE,
Note: See TracChangeset for help on using the changeset viewer.