Changeset 4bfe063 in mainline


Ignore:
Timestamp:
2012-12-16T18:57:09Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddab093
Parents:
395bb79
Message:

usbhid: warnings are not errors

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/kbd/kbddev.c

    r395bb79 r4bfe063  
    264264
    265265        if (rc != EOK) {
    266                 usb_log_warning("Error translating LED output to output report"
    267                     ".\n");
     266                usb_log_warning("Could not translate LED output to output"
     267                    "report.\n");
    268268                return;
    269269        }
  • uspace/drv/bus/usb/usbhid/usbhid.c

    r395bb79 r4bfe063  
    485485            &hid_dev->report, buffer, buffer_size, &hid_dev->report_id);
    486486        if (rc != EOK) {
    487                 usb_log_warning("Error in usb_hid_parse_report():"
     487                usb_log_warning("Failure in usb_hid_parse_report():"
    488488                    "%s\n", str_error(rc));
    489489        }
  • uspace/lib/usbhid/src/hidreq.c

    r395bb79 r4bfe063  
    182182        uint16_t value = duration << 8;
    183183       
    184         rc = usb_control_request_set(ctrl_pipe, 
    185             USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE, 
     184        rc = usb_control_request_set(ctrl_pipe,
     185            USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE,
    186186            USB_HIDREQ_SET_IDLE, value, iface_no, NULL, 0);
    187187
    188188        if (rc != EOK) {
    189                 usb_log_warning("Error sending Set Idle request to the device: "
     189                usb_log_warning("Device did not accept Set Idle request: "
    190190                    "%s.\n", str_error(rc));
    191191                return rc;
Note: See TracChangeset for help on using the changeset viewer.