From: Ciara Power <ciara.power@intel.com>
To: stable@dpdk.org
Cc: Ciara Power <ciara.power@intel.com>, joyce.kong@arm.com
Subject: [dpdk-stable] [PATCH 17.11.7-rc1] test/rwlock: fix missing include
Date: Fri, 27 Sep 2019 11:14:53 +0100 [thread overview]
Message-ID: <20190927101453.61228-1-ciara.power@intel.com> (raw)
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
next reply other threads:[~2019-09-27 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 10:14 Ciara Power [this message]
2019-10-01 8:50 ` Luca Boccassi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190927101453.61228-1-ciara.power@intel.com \
--to=ciara.power@intel.com \
--cc=joyce.kong@arm.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).