From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3BE78A04C8; Fri, 18 Sep 2020 10:40:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C5BD1D91D; Fri, 18 Sep 2020 10:40:56 +0200 (CEST) Received: from mailgw02.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by dpdk.org (Postfix) with ESMTP id 13C7F1D919 for ; Fri, 18 Sep 2020 10:40:55 +0200 (CEST) Received: from mailgw02.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw02.pantheon.sk (Proxmox) with ESMTP id C8253182DFC; Fri, 18 Sep 2020 10:40:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; h=cc:cc:content-transfer-encoding:content-type:content-type :date:from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=dkim; bh=K6EIJdwYk599FdN41bC5 lgu+KdAGmuRDXqNtIb3ASvo=; b=RsWHb43zah0ShRRkrUov5WBiYVI9HXh5LqkC RES8HID4agrZ3Z/QkJJQfdnAffH/0spfNb0tocW093TfZy8bQLCbOTgcytz38+KS N77IbFXoJ5vhsOLg5+wCdox28LBZh8H7zyu4G519m8s/jCwYSJJCA0Qig+nZfolJ 9aAcbL9MwQtGZIL46pPtqvJyybZr9kGApPx/BWQceXDIAhHrhL6ylUfsgKpujUrH xVPqWj7j1yPZba8wEHvPlan3YiwEY9TyBT1wkC8M2NPLh8eLms+KtERxkL6DQ3nC e19STtGX6lPz9qBGsn8LcsnCdvSESfUo+FnKfc7erVZTtn3ONQ== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: Dharmik Thakkar CC: "thomas@monjalon.net" , "dev@dpdk.org" , nd Thread-Topic: [dpdk-dev] [PATCH 1/2] config/arm: avoid variable reuse Thread-Index: AQHWeySw3rWduZH6sEatT+sA5KZE+qlstF3wgAEsYYCAAFJ00A== Date: Fri, 18 Sep 2020 08:40:54 +0000 Message-ID: References: <20200825211317.8358-1-dharmik.thakkar@arm.com> <652E81A3-01BD-4C8E-AE8F-C3C1B895CFD8@arm.com> In-Reply-To: <652E81A3-01BD-4C8E-AE8F-C3C1B895CFD8@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.101.4.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] config/arm: avoid variable reuse 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGhhcm1payBUaGFra2Fy IDxEaGFybWlrLlRoYWtrYXJAYXJtLmNvbT4NCj4gU2VudDogRnJpZGF5LCBTZXB0ZW1iZXIgMTgs IDIwMjAgNzoyNyBBTQ0KPiBUbzogSnVyYWogTGlua2XFoSA8anVyYWoubGlua2VzQHBhbnRoZW9u LnRlY2g+DQo+IENjOiB0aG9tYXNAbW9uamFsb24ubmV0OyBkZXZAZHBkay5vcmc7IG5kIDxuZEBh cm0uY29tPg0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggMS8yXSBjb25maWcvYXJt OiBhdm9pZCB2YXJpYWJsZSByZXVzZQ0KPiANCj4gDQo+IA0KPiA+IE9uIFNlcCAxNywgMjAyMCwg YXQgNDozMyBBTSwgSnVyYWogTGlua2XFoSA8anVyYWoubGlua2VzQHBhbnRoZW9uLnRlY2g+IHdy b3RlOg0KPiA+DQo+ID4NCj4gPg0KPiA+PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tL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