Changeset 05b59393 in mainline for uspace/drv/bus


Ignore:
Timestamp:
2017-10-04T18:02:14Z (8 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c9e88da
Parents:
0b2d369
Message:

Fix a couple of benign clang warnings.
No change in semantics.

Location:
uspace/drv/bus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/i8237.c

    r0b2d369 r05b59393  
    371371       
    372372        /* 16 bit transfers are a bit special */
    373         ddf_msg(LVL_DEBUG, "Unspoiled address %#" PRIx32 " (size %" PRIu16 ")",
     373        ddf_msg(LVL_DEBUG, "Unspoiled address %#" PRIx32 " (size %" PRIu32 ")",
    374374            pa, size);
    375375        if (is_dma16(channel)) {
     
    388388       
    389389        ddf_msg(LVL_DEBUG, "Setting channel %u to address %#" PRIx32 " "
    390             "(size %" PRIu16 "), mode %hhx.", channel, pa, size, mode);
     390            "(size %" PRIu32 "), mode %hhx.", channel, pa, size, mode);
    391391       
    392392        /* Mask DMA request */
  • uspace/drv/bus/usb/ohci/ohci_rh.c

    r0b2d369 r05b59393  
    367367        case USB_HUB_FEATURE_C_PORT_RESET:        /*20*/
    368368                usb_log_debug2("Clearing port C_CONNECTION, C_ENABLE, "
    369                     "C_SUSPEND, C_OC or C_RESET on port %"PRIu16".\n", port);
     369                    "C_SUSPEND, C_OC or C_RESET on port %u.\n", port);
    370370                /* Bit offsets correspond to the feature number */
    371371                OHCI_WR(hub->registers->rh_port_status[port],
     
    416416        case USB_HUB_FEATURE_PORT_RESET:   /*4*/
    417417                usb_log_debug2("Setting port POWER, ENABLE, SUSPEND or RESET "
    418                     "on port %"PRIu16".\n", port);
     418                    "on port %u.\n", port);
    419419                /* Bit offsets correspond to the feature number */
    420420                OHCI_WR(hub->registers->rh_port_status[port], 1 << feature);
Note: See TracChangeset for help on using the changeset viewer.