qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-7.2] tests/qtest: Fix two format strings
@ 2022-11-05 11:55 Stefan Weil via
  2022-11-05 16:51 ` Philippe Mathieu-Daudé
  2022-11-29 14:26 ` Juan Quintela
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Weil via @ 2022-11-05 11:55 UTC (permalink / raw)
  To: qemu-trivial, qemu-devel
  Cc: Juan Quintela, David Alan Gilbert, Thomas Huth, Laurent Vivier,
	Paolo Bonzini, Stefan Weil

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 tests/qtest/migration-test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c
index d2eb107f0c..f574331b7b 100644
--- a/tests/qtest/migration-test.c
+++ b/tests/qtest/migration-test.c
@@ -2188,7 +2188,7 @@ static void calc_dirty_rate(QTestState *who, uint64_t calc_time)
     qobject_unref(qmp_command(who,
                   "{ 'execute': 'calc-dirty-rate',"
                   "'arguments': { "
-                  "'calc-time': %ld,"
+                  "'calc-time': %" PRIu64 ","
                   "'mode': 'dirty-ring' }}",
                   calc_time));
 }
@@ -2203,7 +2203,7 @@ static void dirtylimit_set_all(QTestState *who, uint64_t dirtyrate)
     qobject_unref(qmp_command(who,
                   "{ 'execute': 'set-vcpu-dirty-limit',"
                   "'arguments': { "
-                  "'dirty-rate': %ld } }",
+                  "'dirty-rate': %" PRIu64 " } }",
                   dirtyrate));
 }
 
-- 
2.30.2



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

* Re: [PATCH for-7.2] tests/qtest: Fix two format strings
  2022-11-05 11:55 [PATCH for-7.2] tests/qtest: Fix two format strings Stefan Weil via
@ 2022-11-05 16:51 ` Philippe Mathieu-Daudé
  2022-11-29 14:26 ` Juan Quintela
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-11-05 16:51 UTC (permalink / raw)
  To: Stefan Weil, qemu-trivial, qemu-devel
  Cc: Juan Quintela, David Alan Gilbert, Thomas Huth, Laurent Vivier,
	Paolo Bonzini

On 5/11/22 12:55, Stefan Weil via wrote:
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>   tests/qtest/migration-test.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



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

* Re: [PATCH for-7.2] tests/qtest: Fix two format strings
  2022-11-05 11:55 [PATCH for-7.2] tests/qtest: Fix two format strings Stefan Weil via
  2022-11-05 16:51 ` Philippe Mathieu-Daudé
@ 2022-11-29 14:26 ` Juan Quintela
  1 sibling, 0 replies; 3+ messages in thread
From: Juan Quintela @ 2022-11-29 14:26 UTC (permalink / raw)
  To: Stefan Weil via
  Cc: qemu-trivial, Stefan Weil, David Alan Gilbert, Thomas Huth,
	Laurent Vivier, Paolo Bonzini

Stefan Weil via <qemu-devel@nongnu.org> wrote:
> Signed-off-by: Stefan Weil <sw@weilnetz.de>

Reviewed-by: Juan Quintela <quintela@redhat.com>
queued



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

end of thread, other threads:[~2022-11-29 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-05 11:55 [PATCH for-7.2] tests/qtest: Fix two format strings Stefan Weil via
2022-11-05 16:51 ` Philippe Mathieu-Daudé
2022-11-29 14:26 ` Juan Quintela

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).