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 05E9645499; Thu, 20 Jun 2024 10:09:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA9B1410FA; Thu, 20 Jun 2024 10:09:14 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id C7880402D0 for ; Thu, 20 Jun 2024 10:09:12 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4W4Y6Y72jBz6J9vJ; Thu, 20 Jun 2024 16:09:09 +0800 (CST) Received: from frapeml100007.china.huawei.com (unknown [7.182.85.133]) by mail.maildlp.com (Postfix) with ESMTPS id 592B71402C6; Thu, 20 Jun 2024 16:09:11 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100007.china.huawei.com (7.182.85.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 20 Jun 2024 10:09:11 +0200 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.039; Thu, 20 Jun 2024 10:09:11 +0200 From: Konstantin Ananyev To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , "Thomas Monjalon" CC: "dev@dpdk.org" , "ferruh.yigit@amd.com" , "stephen@networkplumber.org" , "bruce.richardson@intel.com" , "david.marchand@redhat.com" Subject: RE: Coding Style for local variables Thread-Topic: Coding Style for local variables Thread-Index: Adq7SEPoIrinBLT+QHOLQL6ebOrFXAACwQRAAdGEHIAADzLYAAAEU/6g Date: Thu, 20 Jun 2024 08:09:11 +0000 Message-ID: <978413ec22cb4b76872bd85f3588e5f3@huawei.com> References: <98CBD80474FA8B44BF855DF32C47DC35E9F512@smartserver.smartshare.dk> <722d00ff8ec9497a92b831cfd13475d5@huawei.com> <2579488.yFuDdFVEAc@thomas> <98CBD80474FA8B44BF855DF32C47DC35E9F53F@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F53F@smartserver.smartshare.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 DQoNCj4gPiBGcm9tOiBUaG9tYXMgTW9uamFsb24gW21haWx0bzp0aG9tYXNAbW9uamFsb24ubmV0 XQ0KPiA+DQo+ID4gMTAvMDYvMjAyNCAxODozMSwgS29uc3RhbnRpbiBBbmFueWV2Og0KPiA+ID4g TW9ydGVuIHNhaWQ6DQo+ID4gPiA+IFRoZSBjb2Rpbmcgc3R5bGUgZ3VpZGUgc2F5czoNCj4gPiA+ ID4NCj4gPiA+ID4gIlZhcmlhYmxlcyBzaG91bGQgYmUgZGVjbGFyZWQgYXQgdGhlIHN0YXJ0IG9m IGEgYmxvY2sgb2YgY29kZSByYXRoZXIgdGhhbg0KPiA+IGluIHRoZSBtaWRkbGUuIFRoZSBleGNl cHRpb24gdG8gdGhpcyBpcyB3aGVuIHRoZSB2YXJpYWJsZSBpcw0KPiA+ID4gPiBjb25zdCBpbiB3 aGljaCBjYXNlIHRoZSBkZWNsYXJhdGlvbiBtdXN0IGJlIGF0IHRoZSBwb2ludCBvZiBmaXJzdA0K PiA+IHVzZS9hc3NpZ25tZW50LiBEZWNsYXJpbmcgdmFyaWFibGUgaW5zaWRlIGEgZm9yIGxvb3Ag aXMgT0suIg0KPiA+ID4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