DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] hash_multiwriter_autotest: fix printf parameters
@ 2025-03-05 19:45 Andre Muezerie
  2025-03-06  2:59 ` Patrick Robb
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Muezerie @ 2025-03-05 19:45 UTC (permalink / raw)
  To: Yipeng Wang, Sameh Gobriel, Bruce Richardson, Vladimir Medvedkin
  Cc: dev, Andre Muezerie

Compiling with MSVC logs the warnings below, which result in
build error:

../app/test/test_hash_multiwriter.c(71): warning C4476: 'printf' :
    unknown type field character ''' in format specifier
../app/test/test_hash_multiwriter.c(73): warning C4474: 'printf' :
    too many arguments passed for format string
../app/test/test_hash_multiwriter.c(73): note: placeholders and their
    parameters expect 2 variadic arguments, but 4 were provided

Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
---
 app/test/test_hash_multiwriter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_hash_multiwriter.c b/app/test/test_hash_multiwriter.c
index 33d3147bd8..c24b09013f 100644
--- a/app/test/test_hash_multiwriter.c
+++ b/app/test/test_hash_multiwriter.c
@@ -68,7 +68,7 @@ test_hash_multiwriter_worker(void *arg)
 	 */
 	offset = pos_core * tbl_multiwriter_test_params.nb_tsx_insertion;
 
-	printf("Core #%d inserting %d: %'"PRId64" - %'"PRId64"\n",
+	printf("Core #%d inserting %d: %" PRId64 " - %" PRId64 "\n",
 	       lcore_id, tbl_multiwriter_test_params.nb_tsx_insertion,
 	       offset,
 	       offset + tbl_multiwriter_test_params.nb_tsx_insertion - 1);
-- 
2.48.1.vfs.0.0


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

* Re: [PATCH] hash_multiwriter_autotest: fix printf parameters
  2025-03-05 19:45 [PATCH] hash_multiwriter_autotest: fix printf parameters Andre Muezerie
@ 2025-03-06  2:59 ` Patrick Robb
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Robb @ 2025-03-06  2:59 UTC (permalink / raw)
  To: Andre Muezerie
  Cc: Yipeng Wang, Sameh Gobriel, Bruce Richardson, Vladimir Medvedkin, dev

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

Recheck-request: iol-intel-Performance

There was an infra failure with the Arm Grace server about 12 hours ago
which caused this failure - sending a retest request.

[-- Attachment #2: Type: text/html, Size: 204 bytes --]

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

end of thread, other threads:[~2025-03-06  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-05 19:45 [PATCH] hash_multiwriter_autotest: fix printf parameters Andre Muezerie
2025-03-06  2:59 ` Patrick Robb

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