Changeset be01eb3 in mainline


Ignore:
Timestamp:
2018-02-03T10:46:34Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
98b1d30
Parents:
aa148b3
Message:

usbhid: refactor to errno_t

Location:
uspace/drv/hid/usbhid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/main.c

    raa148b3 rbe01eb3  
    104104}
    105105
    106 static int join_and_clean(usb_device_t *dev)
     106static errno_t join_and_clean(usb_device_t *dev)
    107107{
    108108        assert(dev);
  • uspace/drv/hid/usbhid/usbhid.c

    raa148b3 rbe01eb3  
    348348
    349349        /* Parse the input report */
    350         const int rc = usb_hid_parse_report(
     350        const errno_t rc = usb_hid_parse_report(
    351351            &hid_dev->report, buffer, buffer_size, &hid_dev->report_id);
    352352        if (rc != EOK) {
     
    367367}
    368368
    369 static bool usb_hid_polling_error_callback(usb_device_t *dev, int err_code, void *arg)
     369static bool usb_hid_polling_error_callback(usb_device_t *dev, errno_t err_code, void *arg)
    370370{
    371371        assert(dev);
Note: See TracChangeset for help on using the changeset viewer.