Skip to contentSkip to conversation

ehci: drop pointless warn_report for guest bugs.

PATCH In review Gerd Hoffmann 2 participants 2 messages Jul 22, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ehci: drop pointless warn_report for guest bugs.

We have a tracepoint at the same place which can be enabled if needed.

---
 hw/usb/hcd-ehci.c | 1 -
 1 file changed, 1 deletion(-)
hw/usb/hcd-ehci.c +0 -1
index 1495e8f7fab1..4266765f8682 100644
@@ -352,7 +352,6 @@ static void ehci_trace_sitd(EHCIState *s, hwaddr addr,
 static void ehci_trace_guest_bug(EHCIState *s, const char *message)
 {
     trace_usb_ehci_guest_bug(message);
-    warn_report("%s", message);
 }
 
 static inline bool ehci_enabled(EHCIState *s)
Signature · 1 line
2.18.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Gerd Hoffmann

We have a tracepoint at the same place which can be enabled if needed.

---
 hw/usb/hcd-ehci.c | 1 -
 1 file changed, 1 deletion(-)
hw/usb/hcd-ehci.c +0 -0
index 1495e8f7fab1..4266765f8682 100644

hw/usb/hcd-ehci.c static void ehci_trace_sitd(EHCIState *s, hwaddr addr, · line 357

Quoted 7 lines
hw/usb/hcd-ehci.c +0 -1
@@ -352,7 +352,6 @@ static void ehci_trace_sitd(EHCIState *s, hwaddr addr,
 static void ehci_trace_guest_bug(EHCIState *s, const char *message)
 {
     trace_usb_ehci_guest_bug(message);
-    warn_report("%s", message);
 }
 
 static inline bool ehci_enabled(EHCIState *s)