From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690087.outbound.protection.outlook.com [40.107.69.87]) by dpdk.org (Postfix) with ESMTP id 7F5F84CC3 for ; Mon, 8 Oct 2018 12:42:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fyM+2GQHATI1WhnDCV0DV7E9K/Cun5w3koU5ZpmV+uw=; b=hnSC4y4pkyIAzgPiKDWI7gDr339Y12uOtzL5mCC68+juEjuzjzFlqMXINloKVIqswKLI7PH0xWFVWS9MFsiX1l2d3AT7FgF3nHfPuCSUT9Pw5aMlo9tRzc50DHcYpv+AnDNjtclFLIJh4DG1wwVgAxedc6gHAbMhCoOa/0cci34= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph83.caveonetworks.com.com (115.113.156.2) by DM6PR07MB4908.namprd07.prod.outlook.com (2603:10b6:5:a3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.27; Mon, 8 Oct 2018 10:42:20 +0000 From: Anoob Joseph To: Bruce Richardson , Pablo de Lara Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , dev@dpdk.org Date: Mon, 8 Oct 2018 16:11:20 +0530 Message-Id: <1538995285-2040-4-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538995285-2040-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1538995285-2040-1-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: MA1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1::21) To DM6PR07MB4908.namprd07.prod.outlook.com (2603:10b6:5:a3::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d110afcd-2189-48f2-dddd-08d62d0abaf7 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB4908; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4908; 3:+sKDsgXoH2vvytAqc9taxyCcj+cjmAJVeAtGH7LJqlFPHNtMcxSg/rkn9828PIuaE35xCzOFjrtCWqZip6AVF/5xFn8yf1T4Tq02nzwx3cRj90CPSfmMhT6n6od1/iIpy3Gj9yRvTjp8k6jWaYyaFJZ9c8as3oeMRKgIotb4YcX4I8W88wyTkOgEq/ydUJFymv+fGWqtw8/q/TJZygudqsqbqcaeCWWh3ASf/qzYaCnyTYqR6pQ+AkOXaFFiLzlW; 25:EeIWw5XnEWE6unsgJRFDlzbvQ6VGaz8D/4fIBFLPrzxEceTB8kd5LBSI5NtDfFu7IOn1/KTaxi5etULE20XFAfkE/dbch1LqLt5USnm9r82EnUMRs0Q2ehp55XiEyvJmT7Rmsxaxs2sL4CtfjpPbKpr2AdlUahFhQnVcXrNOT2Q/863yU/kFYkjn4c/KNCj6O/f8C8hgcAA07M7+ie0O1w6dUO172Utxa59Fc3CQWPFIbHTN/TPufDT/H//ZpyanzkfJRTYiLW7TQtoHWkIvpFB7o0o3OTZTGEEuhnWdeVNqJDJU8kL8Yhx7A1yQVC5IfU54QGtVGUGuaj2C4rmzQg==; 31:s0wACFpKWYucpNNiOZUi0kURub/lEZpLycgR9isZWU9ykNpBsFcNZ6PokJcbL5Ixfq1rWv58cP/aQjbs9jKCSGGBK4pN5AMNnAHuI+Gbb2UYV0XrsD44v+fX13IvDJ7TD8mQbXcwrFAZSXOcUU8RlNH2A51GN1JTZUIWl53unApB6ImqoPUQvzSACrIJ52gArr57BC8FQBdyVuKOsYye51aTh7vaqiA1QQ+kMKLyPHA= X-MS-TrafficTypeDiagnostic: DM6PR07MB4908: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4908; 20:qwbJXoH2nComV4gQDk8musnAC6mOv4Tcqj/s+wSiSQOggcb+QXWKIm7vJ8BGXEJYcgb5j/txdnTMgHrUj6bjlEnu0IQ6aybw2Dbpvk0Ix0Oz4LGOumIMPybIQF844sALqyxO6EdK2dLDMMXSxT1zRp4bXVA9Sq25d2ke5x3f/Jsb8QlOvFq7w+kwf+42zs8JhHmItxGsQhGOrxvkEwvsAJPx/81bW4/zmz2ThUPbGjoikdsAjV1LtlTZotSaITHM8HfjM1uz1UR/zvqpzeKTqa1Y6u2GotamUJ4RcM7PGVtNXBgyt/ukD6pE0cvcuTQzumniXSEdaNV1ZfSMq3DYGMG82ZCyQrNAN5/Ro5vs2f6xFdIrVs0y9bCyAjk0z4RIVzbtgNK0cf2ArkMHAEKiYFC+9/cth60uXqq/WAufbcuG67cEVPDZljxnYgpmX9BdSOb1igtgp8COiULslAoLcFfw4oJ6/mZMS8nttWwf+++QH4LpjiYAt9zL5Ga0LYF0Pn//EkB3OnH82YYakuS1gTndg0w0PgMXkpC6gfDxaKLkbimVYSwHjyl4pR2rFoSlTYasZGKKoO0Jc24QHCsEJ0sM3AhYY8WwhuYZdsuoZ7c=; 4:vLI+rzBHccYtih2J38vewZuOez1ddwXx89fVHIslzwpjIP3pT0PdjEPYyxmz9ElfD7GZpi0z7Cf3/AnnvmbZ070mfnugLNJinUxneGAKJG6GWDukZfx9mkf36yftFXTUg1Mxkt1XpLQG9/z0RZkzHIDZcFVALogxvCD9Wj4zMayl6V89F0ODewUFVL6YM0qA+B3ynyZ7tQYshi2UQ3CkQK8RbQJjhwuIO7rl7m/J5k3UJeThnnLXutjkKTPrR+ZiVl7Bm82UYTh5Donn2Z5JTA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(3231355)(944501410)(52105095)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:DM6PR07MB4908; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4908; X-Forefront-PRVS: 081904387B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(376002)(39860400002)(346002)(199004)(189003)(47776003)(316002)(14444005)(6506007)(386003)(16586007)(106356001)(105586002)(72206003)(2906002)(55236004)(7736002)(6486002)(68736007)(305945005)(66066001)(6512007)(53936002)(81156014)(48376002)(8936002)(50226002)(3846002)(36756003)(50466002)(97736004)(25786009)(6116002)(446003)(486006)(478600001)(476003)(42882007)(11346002)(54906003)(186003)(44832011)(110136005)(5660300001)(4326008)(16526019)(81166006)(51416003)(2616005)(26005)(8676002)(52116002)(76176011)(956004); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4908; H:ajoseph83.caveonetworks.com.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB4908; 23:yeVlkJqPwHzoo7UJJrSJAjBS1MIwEIBdrdAHiXdfM?= =?us-ascii?Q?wOokp4OoeLUfCxmo7OgLLpz92YucoxE/I//f8g6v/6EBu3ufhe+tNsuI6wHr?= =?us-ascii?Q?FheraWidlhC3JWsBcfcsZyI062rd1cexeuj2bXM2oN6byZGE5Gld/A44V+r7?= =?us-ascii?Q?67S+8F0CQovZ1txrt32uqjO2UvGmKocVC2Dg31G2jwg2Il5bnzCHRqWLlE4c?= =?us-ascii?Q?o1fxpEStTM5Z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 5:l8Xp0KzR/70aZBJaPS+/aKFi990OQCaSx+TRcyL6CLEAajQF7keUy/EwkXOmpGqsIIQcAQc6QTXh+k2iSD6sVkdAVVZMzez4i5+av10jEx/U5k8UStlSNp7GuQgMkjxikVp2LucR90J+al51HCBQl6m1uDAJfQdyk3iJMx7Qq0Y=; 7:mQ17ADuVKEp118l6PRD5/mlUj7FHqAZun88OzZHUJoz3/aMgbevCGWIzTgTTRVOcTsUWt/wJnFZ0td5MyeXlwh01K4lHVvwAA/Y5b+CCgEGkQnaa9skmqIc47KsjvvOlSIo4WPTAzK8ZxK7zjqkEWgkCiIBiVWGo5lcsnX5O67EVkVVGvMB1N1NpmXasl83GPw6p/0qNIcq/DsSezH/Ur+FKM4W5A2MOw8edJpAO0fjZ2o4eJeOlIWeQwE/ntDS3 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2018 10:42:20.3195 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d110afcd-2189-48f2-dddd-08d62d0abaf7 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4908 Subject: [dpdk-dev] [PATCH 3/8] examples/l2fwd: else should follow close brace X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 10:42:25 -0000 The 'else' should follow close brace '}' Signed-off-by: Anoob Joseph --- examples/l2fwd/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index ae51ac7..d2b7034 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -568,8 +568,7 @@ main(int argc, char **argv) if (nb_ports_in_mask % 2) { l2fwd_dst_ports[portid] = last_port; l2fwd_dst_ports[last_port] = portid; - } - else + } else last_port = portid; nb_ports_in_mask++; -- 2.7.4