Ignore:
Timestamp:
2018-01-15T17:04:34Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9ff99e8
Parents:
c1a966e
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:32)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:34)
Message:

usb: unified logging

Use logger instead of printf. Logger adds newlines automatically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_batch.c

    rc1a966e ra1732929  
    143143        batch_setup[ehci_batch->base.ep->transfer_type](ehci_batch);
    144144
    145         usb_log_debug("Batch %p %s " USB_TRANSFER_BATCH_FMT " initialized.\n",
     145        usb_log_debug("Batch %p %s " USB_TRANSFER_BATCH_FMT " initialized.",
    146146            ehci_batch, usb_str_direction(ehci_batch->base.dir),
    147147            USB_TRANSFER_BATCH_ARGS(ehci_batch->base));
     
    163163        assert(ehci_batch);
    164164
    165         usb_log_debug("Batch %p: checking %zu td(s) for completion.\n",
     165        usb_log_debug("Batch %p: checking %zu td(s) for completion.",
    166166            ehci_batch, ehci_batch->td_count);
    167167
    168         usb_log_debug2("Batch %p: QH: %08x:%08x:%08x:%08x:%08x:%08x.\n",
     168        usb_log_debug2("Batch %p: QH: %08x:%08x:%08x:%08x:%08x:%08x.",
    169169            ehci_batch,
    170170            ehci_batch->qh->ep_char, ehci_batch->qh->ep_cap,
Note: See TracChangeset for help on using the changeset viewer.