From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E91511C01; Tue, 17 Jul 2018 15:51:29 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2018 06:51:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,365,1526367600"; d="scan'208";a="58351121" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga006.jf.intel.com with ESMTP; 17 Jul 2018 06:51:11 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by irsmsx110.ger.corp.intel.com (163.33.3.25) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Jul 2018 14:51:10 +0100 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.124]) by irsmsx155.ger.corp.intel.com ([169.254.14.181]) with mapi id 14.03.0319.002; Tue, 17 Jul 2018 14:51:09 +0100 From: "Pattan, Reshma" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Singh, Jasvinder" , "Iremonger, Bernard" , "stable@dpdk.org" Thread-Topic: [PATCH v2] test: fix incorrect return types Thread-Index: AQHUHctTUZbWSmPuUUSsP68+2QPGLKSTTz2AgAAfL+A= Date: Tue, 17 Jul 2018 13:51:08 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A373BF9@IRSMSX109.ger.corp.intel.com> References: <1531760319-2996-1-git-send-email-reshma.pattan@intel.com> <1531831199-9952-1-git-send-email-reshma.pattan@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] test: fix incorrect return types 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: Tue, 17 Jul 2018 13:51:30 -0000 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnVyYWtvdiwgQW5h dG9seQ0KPiBTZW50OiBUdWVzZGF5LCBKdWx5IDE3LCAyMDE4IDE6NTggUE0NCj4gVG86IFBhdHRh biwgUmVzaG1hIDxyZXNobWEucGF0dGFuQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiBDYzog U2luZ2gsIEphc3ZpbmRlciA8amFzdmluZGVyLnNpbmdoQGludGVsLmNvbT47IElyZW1vbmdlciwg QmVybmFyZA0KPiA8YmVybmFyZC5pcmVtb25nZXJAaW50ZWwuY29tPjsgc3RhYmxlQGRwZGsub3Jn DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggdjJdIHRlc3Q6IGZpeCBpbmNvcnJlY3QgcmV0dXJuIHR5 cGVzDQo+IA0KPiANCj4gPiBAQCAtODcxLDMyICs4NzEsMzIgQEAgdGVzdF9mbG93X2NsYXNzaWZ5 KHZvaWQpDQo+ID4gICAJCXByaW50ZigiTGluZSAlaTogZl9jcmVhdGUgaGFzIGZhaWxlZCFcbiIs IF9fTElORV9fKTsNCj4gPiAgIAkJcnRlX2Zsb3dfY2xhc3NpZmllcl9mcmVlKGNscy0+Y2xzKTsN Cj4gPiAgIAkJcnRlX2ZyZWUoY2xzKTsNCj4gPiAtCQlyZXR1cm4gLTE7DQo+ID4gKwkJcmV0dXJu IFRFU1RfRkFJTEVEOw0KPiA+ICAgCX0NCj4gPiAgIAlwcmludGYoIkNyZWF0ZWQgdGFibGVfYWNs IGZvciBmb3IgSVB2NCBmaXZlIHR1cGxlIHBhY2tldHN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