Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 34c9cfc in mainline


Ignore:
Timestamp:
2015-07-03T20:10:00Z (6 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
605db7f
Parents:
ce25903
Message:

ehci, usbhub: Fix formating errors

Location:
uspace/drv/bus/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/endpoint_list.c

    rce25903 r34c9cfc  
    6262
    6363        list_initialize(&instance->endpoint_list);
    64         usb_log_debug2("Transfer list %s setup with ED: %p(%x).\n",
     64        usb_log_debug2("Transfer list %s setup with ED: %p(%"PRIxn").\n",
    6565            name, instance->list_head, addr_to_phys(instance->list_head));
    6666
     
    124124                ep, instance->name, first, first->qh);
    125125        if (last_qh == instance->list_head) {
    126                 usb_log_debug2("%s head ED(%p-%x): %x:%x.\n",
     126                usb_log_debug2("%s head ED(%p-%"PRIxn"): %x:%x.\n",
    127127                    instance->name, last_qh, addr_to_phys(instance->list_head),
    128128                    last_qh->status, last_qh->horizontal);
  • uspace/drv/bus/usb/usbhub/usbhub.c

    rce25903 r34c9cfc  
    314314            hub_dev->per_port_power ? "per port" : "ganged");
    315315
    316         for (size_t port = 0; port < hub_dev->port_count; ++port) {
    317                 usb_log_debug("(%p): Powering port %zu.", hub_dev, port);
     316        for (unsigned port = 0; port < hub_dev->port_count; ++port) {
     317                usb_log_debug("(%p): Powering port %u.", hub_dev, port);
    318318                const int ret = usb_hub_port_set_feature(
    319319                    &hub_dev->ports[port], USB_HUB_FEATURE_PORT_POWER);
    320320
    321321                if (ret != EOK) {
    322                         usb_log_error("(%p-%zu): Cannot power on port: %s.\n",
     322                        usb_log_error("(%p-%u): Cannot power on port: %s.\n",
    323323                            hub_dev, hub_dev->ports[port].port_number,
    324324                            str_error(ret));
Note: See TracChangeset for help on using the changeset viewer.