From: Joyce Kong Date: Thu, 19 Aug 2021 06:11:25 +0000 (-0500) Subject: test/service: fix some comment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=79afbbfeea44f624242ad93c28072d73da631e1b;p=dpdk.git test/service: fix some comment Change the inaccurate comment of 'set pass flag' to 'clear pass flag' as the '*pass_test = 0' code actually implements clearing. Fixes: f038a81e1c56 ("service: add unit tests") Cc: stable@dpdk.org Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang Acked-by: Harry van Haaren --- diff --git a/app/test/test_service_cores.c b/app/test/test_service_cores.c index ece104054e..8659a1526c 100644 --- a/app/test/test_service_cores.c +++ b/app/test/test_service_cores.c @@ -68,7 +68,7 @@ static int32_t dummy_mt_unsafe_cb(void *args) rte_delay_ms(250); __atomic_store_n(lock, 0, __ATOMIC_RELAXED); } else { - /* 2nd thread will fail to take lock, so set pass flag */ + /* 2nd thread will fail to take lock, so clear pass flag */ *pass_test = 0; }