From 14df4f2987fd9de51a026f2bbc94fbb7a7a1379a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 14 Jan 2021 08:48:37 -0800 Subject: [PATCH] test/rwlock: fix spelling and missing whitespace Trivial fix to for spelling errors and incorrect spacing. No change to any built code. Fixes: 7a61fc5d1b09 ("test/rwlock: add new test-cases") Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger --- app/test/test_rwlock.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/test/test_rwlock.c b/app/test/test_rwlock.c index 701187f398..b47150a86a 100644 --- a/app/test/test_rwlock.c +++ b/app/test/test_rwlock.c @@ -46,6 +46,7 @@ enum { static struct { rte_rwlock_t lock; uint64_t tick; + volatile union { uint8_t u8[RTE_CACHE_LINE_SIZE]; uint64_t u64[RTE_CACHE_LINE_SIZE / sizeof(uint64_t)]; @@ -182,7 +183,7 @@ rwlock_test1(void) int i; rte_rwlock_init(&sl); - for (i=0; i