From: Gerd Hoffmann Date: Thu, 6 Feb 2014 12:06:38 +0000 (+0100) Subject: xhci: switch debug printf to tracepoint X-Git-Tag: qemu-xen-4.5.0-rc1~187^2~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4f9cc7342281bfbbc1bfccc155c59551c06d63db;p=qemu-xen.git xhci: switch debug printf to tracepoint Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 8261d00296..12575ddd3b 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -2038,9 +2038,7 @@ static int xhci_submit(XHCIState *xhci, XHCITransfer *xfer, XHCIEPContext *epctx } break; default: - fprintf(stderr, "xhci: unknown or unhandled EP " - "(type %d, in %d, ep %02x)\n", - epctx->type, xfer->in_xfer, xfer->epid); + trace_usb_xhci_unimplemented("endpoint type", epctx->type); return -1; }