Changeset 1938b381 in mainline


Ignore:
Timestamp:
2018-09-29T15:28:01Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f7fe9e
Parents:
99170e0c
Message:

Use correct print format specifiers

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/debug.c

    r99170e0c r1938b381  
    363363{
    364364#define EP_DUMP_DW(name)        usb_log_debug("\t" #name ":\t0x%x", XHCI_EP_##name(*ctx))
    365 #define EP_DUMP_QW(name)        usb_log_debug("\t" #name ":\t0x%llx", XHCI_EP_##name(*ctx))
     365#define EP_DUMP_QW(name)        usb_log_debug("\t" #name ":\t0x%" PRIx64, XHCI_EP_##name(*ctx))
    366366        EP_DUMP_DW(STATE);
    367367        EP_DUMP_DW(MULT);
  • uspace/drv/bus/usb/xhci/isoch.c

    r99170e0c r1938b381  
    331331
    332332                case WINDOW_INSIDE:
    333                         usb_log_debug("[isoch] feeding buffer %zu at 0x%llx",
     333                        usb_log_debug("[isoch] feeding buffer %zu at 0x%" PRIx64,
    334334                            it - isoch->transfers, it->mfindex);
    335335                        it->error = schedule_isochronous_trb(ep, it);
     
    349349                         * skipped.
    350350                         */
    351                         usb_log_debug("[isoch] missed feeding buffer %zu at 0x%llx by "
    352                             "%llu uframes", it - isoch->transfers, it->mfindex, wd.offset);
     351                        usb_log_debug("[isoch] missed feeding buffer %zu at 0x%" PRIx64 " by "
     352                            "%" PRIu64 " uframes", it - isoch->transfers, it->mfindex, wd.offset);
    353353                        it->state = ISOCH_COMPLETE;
    354354                        it->error = EOK;
     
    422422                        goto out;
    423423                case WINDOW_TOO_LATE:
    424                         usb_log_debug("[isoch] missed feeding buffer %zu at 0x%llx by"
    425                             "%llu uframes", it - isoch->transfers, it->mfindex, wd.offset);
     424                        usb_log_debug("[isoch] missed feeding buffer %zu at 0x%" PRIx64 " by"
     425                            "%" PRIu64 " uframes", it - isoch->transfers, it->mfindex, wd.offset);
    426426                        /* Missed the opportunity to schedule. Schedule ASAP. */
    427427                        it->mfindex += wd.offset;
     
    435435                        isoch->last_mf = it->mfindex;
    436436
    437                         usb_log_debug("[isoch] feeding buffer %zu at 0x%llx",
     437                        usb_log_debug("[isoch] feeding buffer %zu at 0x%" PRIx64,
    438438                            it - isoch->transfers, it->mfindex);
    439439
     
    520520        calc_next_mfindex(ep, it);
    521521        isoch->last_mf = it->mfindex;
    522         usb_log_debug("[isoch] buffer %zu will be on schedule at 0x%llx",
     522        usb_log_debug("[isoch] buffer %zu will be on schedule at 0x%" PRIx64,
    523523            it - isoch->transfers, it->mfindex);
    524524
  • uspace/srv/fs/exfat/exfat_ops.c

    r99170e0c r1938b381  
    12391239        printf("Version: %d.%d\n", bs->version.major, bs->version.minor);
    12401240        printf("Volume serial: %d\n", uint32_t_le2host(bs->volume_serial));
    1241         printf("Volume first sector: %lld\n", VOL_FS(bs));
    1242         printf("Volume sectors: %lld\n", VOL_CNT(bs));
     1241        printf("Volume first sector: %" PRId64 "\n", VOL_FS(bs));
     1242        printf("Volume sectors: %" PRId64 "\n", VOL_CNT(bs));
    12431243        printf("FAT first sector: %d\n", FAT_FS(bs));
    12441244        printf("FAT sectors: %d\n", FAT_CNT(bs));
Note: See TracChangeset for help on using the changeset viewer.