cryptospore / rpms / qemu-kvm

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