[dpdk-stable] [PATCH 17.11.7-rc1] test/rwlock: fix missing include

Luca Boccassi bluca at debian.org
Tue Oct 1 10:50:09 CEST 2019


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 at arm.com
> 
> Cc: 
> stable at dpdk.org
> 
> 
> Reported-by: WenhuiX Zhu <
> wenhuix.zhu at intel.com
> >
> Signed-off-by: Ciara Power <
> ciara.power at 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


More information about the stable mailing list