Changeset 1433ecda in mainline for uspace/lib/usbvirt/src


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

Location:
uspace/lib/usbvirt/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbvirt/src/ctrltransfer.c

    r47b2d7e3 r1433ecda  
    6262
    6363        const usbvirt_control_request_handler_t *handler = control_handlers;
    64         for (;handler->callback != NULL; ++handler) {
     64        for (; handler->callback != NULL; ++handler) {
    6565                if (handler->request != setup->request ||
    6666                    handler->request_type != setup->request_type) {
     
    6969
    7070                usb_log_debug("Control transfer: %s(%s)", handler->name,
    71                     usb_debug_str_buffer((uint8_t*) setup, sizeof(*setup), 0));
     71                    usb_debug_str_buffer((uint8_t *) setup, sizeof(*setup), 0));
    7272                errno_t rc = handler->callback(dev, setup, data, data_sent_size);
    7373                if (rc != EFORWARD) {
  • uspace/lib/usbvirt/src/virthub_base.c

    r47b2d7e3 r1433ecda  
    8787        instance->extra[1].data = (void *)hub_desc;
    8888        instance->extra[1].length = hub_desc->length;
    89         instance->extra[2].data = (void*)&instance->endpoint_descriptor;
     89        instance->extra[2].data = (void *)&instance->endpoint_descriptor;
    9090        instance->extra[2].length = sizeof(instance->endpoint_descriptor);
    9191
Note: See TracChangeset for help on using the changeset viewer.