From: Stephen Hemminger Date: Thu, 14 Jan 2021 16:48:37 +0000 (-0800) Subject: test/rwlock: fix spelling and missing whitespace X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=14df4f2987fd9de51a026f2bbc94fbb7a7a1379a;p=dpdk.git 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 --- 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