cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
958e1b
From fb9a90622fec7d8207962b7e8b58dfe8decc94ae Mon Sep 17 00:00:00 2001
958e1b
From: Gerd Hoffmann <kraxel@redhat.com>
958e1b
Date: Fri, 11 Jul 2014 14:20:59 +0200
958e1b
Subject: [PATCH 25/43] xhci: switch debug printf to tracepoint
958e1b
958e1b
Message-id: <1405088470-24115-27-git-send-email-kraxel@redhat.com>
958e1b
Patchwork-id: 59853
958e1b
O-Subject: [RHEL-7.1 qemu-kvm PATCH 26/37] xhci: switch debug printf to tracepoint
958e1b
Bugzilla: 980747
958e1b
RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
958e1b
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
958e1b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
958e1b
958e1b
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
958e1b
(cherry picked from commit 4f9cc7342281bfbbc1bfccc155c59551c06d63db)
958e1b
---
958e1b
 hw/usb/hcd-xhci.c | 4 +---
958e1b
 1 file changed, 1 insertion(+), 3 deletions(-)
958e1b
958e1b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
958e1b
---
958e1b
 hw/usb/hcd-xhci.c | 4 +---
958e1b
 1 file changed, 1 insertion(+), 3 deletions(-)
958e1b
958e1b
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
958e1b
index 75da33d..f937b4e 100644
958e1b
--- a/hw/usb/hcd-xhci.c
958e1b
+++ b/hw/usb/hcd-xhci.c
958e1b
@@ -2041,9 +2041,7 @@ static int xhci_submit(XHCIState *xhci, XHCITransfer *xfer, XHCIEPContext *epctx
958e1b
         }
958e1b
         break;
958e1b
     default:
958e1b
-        fprintf(stderr, "xhci: unknown or unhandled EP "
958e1b
-                "(type %d, in %d, ep %02x)\n",
958e1b
-                epctx->type, xfer->in_xfer, xfer->epid);
958e1b
+        trace_usb_xhci_unimplemented("endpoint type", epctx->type);
958e1b
         return -1;
958e1b
     }
958e1b
 
958e1b
-- 
958e1b
1.8.3.1
958e1b