patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 17.11.7-rc1] test/rwlock: fix missing include
@ 2019-09-27 10:14 Ciara Power
  2019-10-01  8:50 ` Luca Boccassi
  0 siblings, 1 reply; 2+ messages in thread
From: Ciara Power @ 2019-09-27 10:14 UTC (permalink / raw)
  To: stable; +Cc: Ciara Power, joyce.kong

Using PRIu64 in print statements caused errors,
due to the inttypes header file not being included
at the top of the file. This is now included.

Fixes: 29e08d740ffc ("test/rwlock: benchmark on all available cores")
Cc: joyce.kong@arm.com
Cc: stable@dpdk.org

Reported-by: WenhuiX Zhu <wenhuix.zhu@intel.com>
Signed-off-by: Ciara Power <ciara.power@intel.com>
---
 test/test/test_rwlock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test/test_rwlock.c b/test/test/test_rwlock.c
index 1f327fecf..06788d288 100644
--- a/test/test/test_rwlock.c
+++ b/test/test/test_rwlock.c
@@ -35,6 +35,7 @@
 #include <stdint.h>
 #include <unistd.h>
 #include <sys/queue.h>
+#include <inttypes.h>
 
 #include <rte_common.h>
 #include <rte_memory.h>
-- 
2.17.1


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

end of thread, other threads:[~2019-10-01  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27 10:14 [dpdk-stable] [PATCH 17.11.7-rc1] test/rwlock: fix missing include Ciara Power
2019-10-01  8:50 ` Luca Boccassi

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