qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/arm/nseries: Display hexadecimal value with '0x' prefix
@ 2021-07-26 15:09 Philippe Mathieu-Daudé
  2021-07-26 17:15 ` Richard Henderson
  2021-07-27  9:18 ` Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-07-26 15:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, qemu-arm, Philippe Mathieu-Daudé

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 hw/arm/nseries.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
index 906c915df78..af3164c5519 100644
--- a/hw/arm/nseries.c
+++ b/hw/arm/nseries.c
@@ -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;
     }
 
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/arm/nseries: Display hexadecimal value with '0x' prefix
  2021-07-26 15:09 [PATCH] hw/arm/nseries: Display hexadecimal value with '0x' prefix Philippe Mathieu-Daudé
@ 2021-07-26 17:15 ` Richard Henderson
  2021-07-27  9:18 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2021-07-26 17:15 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel; +Cc: Peter Maydell, qemu-arm

On 7/26/21 5:09 AM, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
> ---
>   hw/arm/nseries.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/arm/nseries: Display hexadecimal value with '0x' prefix
  2021-07-26 15:09 [PATCH] hw/arm/nseries: Display hexadecimal value with '0x' prefix Philippe Mathieu-Daudé
  2021-07-26 17:15 ` Richard Henderson
@ 2021-07-27  9:18 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2021-07-27  9:18 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: qemu-arm, QEMU Developers

On Mon, 26 Jul 2021 at 16:09, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/arm/nseries.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
> index 906c915df78..af3164c5519 100644
> --- a/hw/arm/nseries.c
> +++ b/hw/arm/nseries.c
> @@ -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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-27  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-26 15:09 [PATCH] hw/arm/nseries: Display hexadecimal value with '0x' prefix Philippe Mathieu-Daudé
2021-07-26 17:15 ` Richard Henderson
2021-07-27  9:18 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).