Changeset 1433ecda in mainline for uspace/lib/usbhost/src/bus.c


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/bus.c

    r47b2d7e3 r1433ecda  
    114114                dev->tt.dev = dev->hub;
    115115                dev->tt.port = dev->port;
    116         }
    117         else {
     116        } else {
    118117                /* Inherit hub's TT */
    119118                dev->tt = dev->hub->tt;
     
    172171                    ddf_fun_get_name(dev->fun), i, op);
    173172
    174                 endpoint_t * const ep = dev->endpoints[i];
     173                endpoint_t *const ep = dev->endpoints[i];
    175174                endpoint_add_ref(ep);
    176175
     
    190189        /* Remove also orphaned children. */
    191190        while (!list_empty(&dev->devices)) {
    192                 device_t * const child = list_get_instance(list_first(&dev->devices), device_t, link);
     191                device_t *const child = list_get_instance(list_first(&dev->devices), device_t, link);
    193192
    194193                /*
     
    405404        if (ep->max_transfer_size == 0) {
    406405                usb_log_warning("Invalid endpoint description (mps %zu, "
    407                         "%u packets)", ep->max_packet_size, ep->packets_per_uframe);
     406                    "%u packets)", ep->max_packet_size, ep->packets_per_uframe);
    408407                goto drop;
    409408        }
Note: See TracChangeset for help on using the changeset viewer.