Changeset 80f7c54 in mainline for uspace/drv/bus/usb/xhci/isoch.c


Ignore:
Timestamp:
2018-01-27T14:37:17Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf0398c
Parents:
77733a9
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-27 14:37:07)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-27 14:37:17)
Message:

usb: make the code compile on 32-bit architecture

File:
1 edited

Legend:

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

    r77733a9 r80f7c54  
    319319                case WINDOW_TOO_SOON: {
    320320                        const suseconds_t delay = wd.offset * 125;
    321                         usb_log_debug("[isoch] delaying feeding buffer %lu for %ldus",
     321                        usb_log_debug("[isoch] delaying feeding buffer %zu for %ldus",
    322322                                it - isoch->transfers, delay);
    323323                        fibril_timer_set_locked(isoch->feeding_timer, delay,
     
    327327
    328328                case WINDOW_INSIDE:
    329                         usb_log_debug("[isoch] feeding buffer %lu at 0x%llx",
     329                        usb_log_debug("[isoch] feeding buffer %zu at 0x%llx",
    330330                            it - isoch->transfers, it->mfindex);
    331331                        it->error = schedule_isochronous_trb(ep, it);
     
    345345                         * skipped.
    346346                         */
    347                         usb_log_debug("[isoch] missed feeding buffer %lu at 0x%llx by "
     347                        usb_log_debug("[isoch] missed feeding buffer %zu at 0x%llx by "
    348348                                "%llu uframes", it - isoch->transfers, it->mfindex, wd.offset);
    349349                        it->state = ISOCH_COMPLETE;
     
    411411                        /* Not allowed to feed yet. Defer to later. */
    412412                        const suseconds_t delay = wd.offset * 125;
    413                         usb_log_debug("[isoch] delaying feeding buffer %lu for %ldus",
     413                        usb_log_debug("[isoch] delaying feeding buffer %zu for %ldus",
    414414                            it - isoch->transfers, delay);
    415415                        fibril_timer_set_locked(isoch->feeding_timer, delay,
     
    419419
    420420                case WINDOW_TOO_LATE:
    421                         usb_log_debug("[isoch] missed feeding buffer %lu at 0x%llx by"
     421                        usb_log_debug("[isoch] missed feeding buffer %zu at 0x%llx by"
    422422                                "%llu uframes", it - isoch->transfers, it->mfindex, wd.offset);
    423423                        /* Missed the opportunity to schedule. Schedule ASAP. */
     
    432432                        isoch->last_mf = it->mfindex;
    433433
    434                         usb_log_debug("[isoch] feeding buffer %lu at 0x%llx",
     434                        usb_log_debug("[isoch] feeding buffer %zu at 0x%llx",
    435435                            it - isoch->transfers, it->mfindex);
    436436
Note: See TracChangeset for help on using the changeset viewer.