Changeset 58563585 in mainline for uspace/drv/bus/usb/usbhub/usbhub.c


Ignore:
Timestamp:
2016-08-31T11:15:39Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10cb47e
Parents:
7a67416
Message:

code review and cstyle cleanup (no change in functionality)

File:
1 edited

Legend:

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

    r7a67416 r58563585  
    2727 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2828 */
     29
    2930/** @addtogroup drvusbhub
    3031 * @{
     
    5657
    5758#define HUB_FNC_NAME "hub"
     59
    5860/** Hub status-change endpoint description.
    5961 *
     
    229231    uint8_t *change_bitmap, size_t change_bitmap_size, void *arg)
    230232{
    231 //      usb_log_debug("hub_port_changes_callback\n");
    232233        usb_hub_dev_t *hub = arg;
    233234        assert(hub);
     
    314315            hub_dev->per_port_power ? "per port" : "ganged");
    315316
    316         for (unsigned port = 0; port < hub_dev->port_count; ++port) {
     317        for (unsigned int port = 0; port < hub_dev->port_count; ++port) {
    317318                usb_log_debug("(%p): Powering port %u.", hub_dev, port);
    318319                const int ret = usb_hub_port_set_feature(
Note: See TracChangeset for help on using the changeset viewer.