patches for DPDK stable branches
 help / color / 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

* Re: [dpdk-stable] [PATCH 17.11.7-rc1] test/rwlock: fix missing include
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Boccassi @ 2019-10-01  8:50 UTC (permalink / raw)
  To: Ciara Power, stable; +Cc: joyce.kong

On Fri, 2019-09-27 at 11:14 +0100, Ciara Power wrote:
> 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>

Hello Ciara,

Thanks for sending the patch, but a similar one was merged a few days
earlier:

http://mails.dpdk.org/archives/stable/2019-September/017514.html

-- 
Kind regards,
Luca Boccassi

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

end of thread, back to index

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

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox