From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 379F2A034C;
	Wed,  9 Nov 2022 20:15:44 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8075742D48;
	Wed,  9 Nov 2022 20:15:10 +0100 (CET)
Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com
 [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id 1C10C42D24
 for <dev@dpdk.org>; Wed,  9 Nov 2022 20:15:09 +0100 (CET)
Received: by mail-pj1-f46.google.com with SMTP id
 d13-20020a17090a3b0d00b00213519dfe4aso2842306pjc.2
 for <dev@dpdk.org>; Wed, 09 Nov 2022 11:15:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20210112.gappssmtp.com; s=20210112;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=AWMb4VlbvlNbrESYxHviINq2hlfRwA27ZifZQwv6DLE=;
 b=7dVtwFxrhjquzowPbJpBo1cOwrKEI+A3KBXZM+l1IffITNl3K8Fwwcq+WHcFBPgZ88
 3TTMoO8mqh8mVawodt13TAUYqh78FluANYPqyXZj+gC/YfIrJx6OyWoUGr2rcM6cZZfe
 Lp5f5eqr/BTeivAhhN8dohSp00hcfx0HOZokjaB5GZucrHWQzX1IWAXV10CmIFgwoq+C
 ie40jS4NK8yo1I6kCfVamFix9PJawq0V3V8irMpHoyYJEuEGm1YBRm3ndws917B1UrEy
 uvHTaMY3TAbJOO3LKhGA3wLXfPQGRfzJhT8//L4AwGJyOnL6WuzgaSqmLXD0gNCj3xMG
 M0nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=AWMb4VlbvlNbrESYxHviINq2hlfRwA27ZifZQwv6DLE=;
 b=s3jq7z/BLh5Vkfnw+NqB/nCCoMUm8CmKeLYeK4R0QMTv2L+9MkEiQ96P1HXjCO9+rT
 AS7TNHBumNdfGUkvQn1PIjEBPs97xGkP+zbI0KKXuq04FW1+k4QWxhptOsdlrlssriqe
 UkL3+WN9ROAZI7gyVghO4XytS1qUyMirKA2ZvzfrBhaBo59KRoKHS9PM9g3sE8jGxCpe
 xGEEnTb2Qa4C4y7SP3ezABIFEkXpBhDFvHPhyUpOUevsKaTPeqlPMnqDi2UTVwi8LTxh
 elW0ZQ4Yu70tEhLBBE7thU3iTziAcS9IczY/uxBxJxcZaziVvfqhlEE2ebVqauR2o8j9
 7gyA==
X-Gm-Message-State: ACrzQf2P4VmGp1m7tlhmMKa60fYP0bpucf+tVczt9o2wBWRBnjjKi/x1
 X9a7xyWNkpkMDkJl3paHXNCE2gVR65dDvA==
X-Google-Smtp-Source: AMsMyM4IHddrn+YX0GeYLBiqXmZsCD8TGpbWX0M2SQUzyWJIGUglp1rrjAbbxlQg/AiFvWy1Q0ktQw==
X-Received: by 2002:a17:902:bb86:b0:17c:4cac:eea4 with SMTP id
 m6-20020a170902bb8600b0017c4caceea4mr60275003pls.141.1668021308286; 
 Wed, 09 Nov 2022 11:15:08 -0800 (PST)
Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])
 by smtp.gmail.com with ESMTPSA id
 gn16-20020a17090ac79000b002130c269b6fsm1586698pjb.1.2022.11.09.11.15.06
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 09 Nov 2022 11:15:07 -0800 (PST)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
 David Hunt <david.hunt@intel.com>
Subject: [PATCH 09/14] l3fwd: fix whitespace
Date: Wed,  9 Nov 2022 11:14:40 -0800
Message-Id: <20221109191445.140320-10-stephen@networkplumber.org>
X-Mailer: git-send-email 2.35.1
In-Reply-To: <20221109191445.140320-1-stephen@networkplumber.org>
References: <20221109191445.140320-1-stephen@networkplumber.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Add space after keywoords

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/l3fwd-power/main.c | 6 +++---
 examples/l3fwd/main.c       | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index fd3ade330f82..b2270e1056c8 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -1787,11 +1787,11 @@ parse_config(const char *q_arg)
 
 	while ((p = strchr(p0,'(')) != NULL) {
 		++p;
-		if((p0 = strchr(p,')')) == NULL)
+		if ((p0 = strchr(p,')')) == NULL)
 			return -1;
 
 		size = p0 - p;
-		if(size >= sizeof(s))
+		if (size >= sizeof(s))
 			return -1;
 
 		snprintf(s, sizeof(s), "%.*s", size, p);
@@ -2946,7 +2946,7 @@ main(int argc, char **argv)
 		fflush(stdout);
 
 		/* init RX queues */
-		for(queue = 0; queue < qconf->n_rx_queue; ++queue) {
+		for (queue = 0; queue < qconf->n_rx_queue; ++queue) {
 			struct rte_eth_rxconf rxq_conf;
 
 			portid = qconf->rx_queue_list[queue].port_id;
diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c
index 5198ff30dd00..2e1c4939f992 100644
--- a/examples/l3fwd/main.c
+++ b/examples/l3fwd/main.c
@@ -516,11 +516,11 @@ parse_config(const char *q_arg)
 
 	while ((p = strchr(p0,'(')) != NULL) {
 		++p;
-		if((p0 = strchr(p,')')) == NULL)
+		if ((p0 = strchr(p,')')) == NULL)
 			return -1;
 
 		size = p0 - p;
-		if(size >= sizeof(s))
+		if (size >= sizeof(s))
 			return -1;
 
 		snprintf(s, sizeof(s), "%.*s", size, p);
@@ -1366,7 +1366,7 @@ l3fwd_poll_resource_setup(void)
 		printf("\nInitializing rx queues on lcore %u ... ", lcore_id );
 		fflush(stdout);
 		/* init RX queues */
-		for(queue = 0; queue < qconf->n_rx_queue; ++queue) {
+		for (queue = 0; queue < qconf->n_rx_queue; ++queue) {
 			struct rte_eth_rxconf rxq_conf;
 
 			portid = qconf->rx_queue_list[queue].port_id;
-- 
2.35.1