Changeset e231d26 in mainline


Ignore:
Timestamp:
2011-09-27T18:39:12Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3744d
Parents:
747a1e71
Message:

usbhub: Fix compile issues.

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

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/port.c

    r747a1e71 re231d26  
    224224                        if (rc != EOK) {
    225225                                usb_log_error(
    226                                     "Failed to set port %d power after OC:"
     226                                    "Failed to set port %zu power after OC:"
    227227                                    " %s.\n", port->port_number, str_error(rc));
    228228                        }
     
    306306        if (rc != EOK) {
    307307                usb_log_error(
    308                     "Failed to clear port %d reset change feature: %s.\n",
     308                    "Failed to clear port %zu reset change feature: %s.\n",
    309309                    port->port_number, str_error(rc));
    310310        }
  • uspace/drv/bus/usb/usbhub/usbhub.c

    r747a1e71 re231d26  
    307307        const size_t configuration_count =
    308308            usb_device->descriptors.device.configuration_count;
    309         usb_log_debug("Hub has %d configurations.\n", configuration_count);
     309        usb_log_debug("Hub has %zu configurations.\n", configuration_count);
    310310
    311311        if (configuration_count < 1) {
     
    358358                                usb_log_warning(
    359359                                    "HUB OVER-CURRENT GONE: Cannot power on "
    360                                     "port %d;  %s\n",
     360                                    "port %zu;  %s\n",
    361361                                    port, str_error(opResult));
    362362                        }
Note: See TracChangeset for help on using the changeset viewer.