Skip to contentSkip to conversation

hw/arm/nseries: Display hexadecimal value with '0x' prefix

PATCH Applied Philippe Mathieu-Daudé 3 participants 3 messages Jul 26, 2021 – Jul 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/arm/nseries: Display hexadecimal value with '0x' prefix

---
 hw/arm/nseries.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/nseries.c +1 -1
index 906c915df78..af3164c5519 100644
@@ -692,7 +692,7 @@ static uint32_t mipid_txrx(void *opaque, uint32_t cmd, int len)
     default:
     bad_cmd:
         qemu_log_mask(LOG_GUEST_ERROR,
-                      "%s: unknown command %02x\n", __func__, s->cmd);
+                      "%s: unknown command 0x%02x\n", __func__, s->cmd);
         break;
     }
 
Signature · 1 line
2.31.1
#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 11 lines · Philippe Mathieu-Daudé
---
 hw/arm/nseries.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/nseries.c +0 -0
index 906c915df78..af3164c5519 100644

hw/arm/nseries.c static uint32_t mipid_txrx(void *opaque, uint32_t cmd, int len) · line 697

Quoted 7 lines
hw/arm/nseries.c +1 -1
@@ -692,7 +692,7 @@ static uint32_t mipid_txrx(void *opaque, uint32_t cmd, int len)
     default:
     bad_cmd:
         qemu_log_mask(LOG_GUEST_ERROR,
-                      "%s: unknown command %02x\n", __func__, s->cmd);
+                      "%s: unknown command 0x%02x\n", __func__, s->cmd);
         break;
     }

Applied to target-arm.next, thanks.

-- PMM