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 7556DA0551; Mon, 17 Feb 2020 02:49:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 82A8C1B951; Mon, 17 Feb 2020 02:49:29 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 5E6762C4F; Mon, 17 Feb 2020 02:49:27 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2020 17:49:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,450,1574150400"; d="scan'208";a="229058687" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga008.fm.intel.com with ESMTP; 16 Feb 2020 17:49:25 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 16 Feb 2020 17:49:25 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 17 Feb 2020 09:49:23 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Mon, 17 Feb 2020 09:49:23 +0800 From: "Li, Xiaoyun" To: David Marchand CC: "Ye, Xiaolong" , "Kovacevic, Marko" , dev , dpdk stable Thread-Topic: [dpdk-dev] [PATCH v2] examples/tep_term: fix return value check Thread-Index: AQHV3+BnBhywvMuy60OWBBF07ddOdqgYtdaAgAXi6VA= Date: Mon, 17 Feb 2020 01:49:23 +0000 Message-ID: References: <20200210030757.11426-1-xiaoyun.li@intel.com> <20200210070458.20865-1-xiaoyun.li@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-reaction: no-action dlp-version: 11.2.0.6 x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] examples/tep_term: fix return value check 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" SGkNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFu ZCBbbWFpbHRvOmRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFRodXJzZGF5LCBG ZWJydWFyeSAxMywgMjAyMCAyMjo1Nw0KPiBUbzogTGksIFhpYW95dW4gPHhpYW95dW4ubGlAaW50 ZWwuY29tPg0KPiBDYzogWWUsIFhpYW9sb25nIDx4aWFvbG9uZy55ZUBpbnRlbC5jb20+OyBLb3Zh Y2V2aWMsIE1hcmtvDQo+IDxtYXJrby5rb3ZhY2V2aWNAaW50ZWwuY29tPjsgZGV2IDxkZXZAZHBk ay5vcmc+OyBkcGRrIHN0YWJsZQ0KPiA8c3RhYmxlQGRwZGsub3JnPg0KPiBTdWJqZWN0OiBSZTog W2RwZGstZGV2XSBbUEFUQ0ggdjJdIGV4YW1wbGVzL3RlcF90ZXJtOiBmaXggcmV0dXJuIHZhbHVl IGNoZWNrDQo+IA0KPiBPbiBNb24sIEZlYiAxMCwgMjAyMCBhdCA4OjA1I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