From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DACB9A0A02; Thu, 14 Jan 2021 17:48:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98709141380; Thu, 14 Jan 2021 17:48:42 +0100 (CET) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id AD78514137C for ; Thu, 14 Jan 2021 17:48:41 +0100 (CET) Received: by mail-pj1-f50.google.com with SMTP id b5so3516598pjk.2 for ; Thu, 14 Jan 2021 08:48:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EaJ+J3zfk6P2C0j6LVXV/EP9Lkx1z8ZwIF54oCkkOB4=; b=nOa12pivZ5kVzEFcTs7zlMOz2ezuQPkQvQzSol6coe+Dam8Td4ypRWfzgVZu63dppy x/uLr1dnR4I7b8iv0n5T70hvNjMIwMPeri9BmQRAUZL9prRHmnRvn0Wjmabhw3A1LFJ6 lEXino1hE/R8gOrsJb+/xQq3JYQ7CsAxt8vBn0j8Bo10FxNBt0biLKIw2k5/7gWKVq3Y tPxT8YAWOiJ8662+YOk1Y33LT0gOiWfn9EzRsgIogwtO8sbDFuzYMPj9JAtV0Qs7PQvm eVe70NNNme8MX/48dNCPqgzQJbkYcW0DVTUtgbJXB7CKUUZCUQ9M+bONNNvBtOYtVO95 eTNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EaJ+J3zfk6P2C0j6LVXV/EP9Lkx1z8ZwIF54oCkkOB4=; b=rDSPJqxFmywG4e1VZ4PNKXU81RV3w+ZmFO3KtDJ0aTYtln2uJL78gkdYvvos0eSyh2 vE0pkqRIoRLZZiXRYda3vq0JJ9Gcq2+3Mzw9aS7etCZp5x+yRLeeiL29Czwa/AirZDxT +DrBMVUNK0n7xyYvpqVan+GK/ZGMWFGEgxQMB5V/Elt9wWV2RXeSFFnkawpeW/SlZLBD xEvz2w/uYeOKHO6OiAvJAtHyzJbr2hyCD/DKpafatYf/6zUTvLYBewPzv7LBBvoPL4WH Vqr+dX7T0ba8v6zqAnwh9nbI3QwhSrtZ0JD1HeN6mHu3LuD6jRblxvKgGboVt0Soqqwd MVCg== X-Gm-Message-State: AOAM530cx2jrNuyw/i8lemujBVYHP29M1xZAdSw4M0ORy2jNepLu5agt Muo/WE8v6apxxnTy/Pf/2fcnZ7cp6kRM2A== X-Google-Smtp-Source: ABdhPJySOXvWta+tWufldmD/L06p1/I26iXNsDHhMEc7ZFF/AT1OFLMCia/G+GBR/3Kqf9WSZVF36A== X-Received: by 2002:a17:902:6542:b029:dc:2fe8:e0c4 with SMTP id d2-20020a1709026542b02900dc2fe8e0c4mr8241017pln.84.1610642920450; Thu, 14 Jan 2021 08:48:40 -0800 (PST) Received: from hermes.wavecable.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id iq3sm5735570pjb.57.2021.01.14.08.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 08:48:39 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 14 Jan 2021 08:48:37 -0800 Message-Id: <20210114164837.29217-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] test/rwlock: fix spelling and missing whitespace X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Trivial fix to for spelling errors and incorrect spacing. No change to any built code. 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 701187f39884..c4876018ce35 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