Patchwork [2/5] slavio_misc: Fix slavio_led_mem_readw/_writew tracepoints

login
register
mail settings
Submitter Markus Armbruster
Date June 7, 2013, 10:59 a.m.
Message ID <1370602761-3566-3-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/249656/
State New
Headers show

Comments

Markus Armbruster - June 7, 2013, 10:59 a.m.
Broken since they got added in commit 97bf485.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/misc/slavio_misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/hw/misc/slavio_misc.c b/hw/misc/slavio_misc.c
index a7a9368..3571850 100644
--- a/hw/misc/slavio_misc.c
+++ b/hw/misc/slavio_misc.c
@@ -368,7 +368,7 @@  static void slavio_led_mem_writew(void *opaque, hwaddr addr,
 {
     MiscState *s = opaque;
 
-    trace_slavio_led_mem_readw(val & 0xffff);
+    trace_slavio_led_mem_writew(val & 0xffff);
     switch (addr) {
     case 0:
         s->leds = val;