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 8032FA04E0; Wed, 27 Nov 2019 14:11:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1627A58C3; Wed, 27 Nov 2019 14:11:42 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D22344C9D for ; Wed, 27 Nov 2019 14:11:40 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 05:11:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,249,1571727600"; d="scan'208";a="220974019" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 27 Nov 2019 05:11:39 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 05:11:39 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 05:11:38 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.149]) with mapi id 14.03.0439.000; Wed, 27 Nov 2019 21:11:36 +0800 From: "Li, Xiaoyun" To: "T D, Shashank" , "dev@dpdk.org" Thread-Topic: [PATCH v2] examples/tep_termination: resolve unchecked return value Thread-Index: AQHVpRq/9uwQTNNOf0CvTJFzQBcpT6ee/dMQ Date: Wed, 27 Nov 2019 13:11:35 +0000 Message-ID: References: <20191127103359.1957-1-shashank.t.d@intel.com> <20191127120341.2845-1-shashank.t.d@intel.com> In-Reply-To: <20191127120341.2845-1-shashank.t.d@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmZkYzEwNzktYThlNS00OTFkLWE0MzAtNDhmNjQ1ZTI4NzA1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY1NKUWFMblN4V2FOMW1XNzBBc2padWYyR1VoYmV3dTJJSzlsUlU5cU1od2ZaZDFadFZSbmw1dDFCdXg5SXpjQSJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] examples/tep_termination: resolve unchecked return value 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBUIEQsIFNoYXNoYW5rDQo+IFNl bnQ6IFdlZG5lc2RheSwgTm92ZW1iZXIgMjcsIDIwMTkgMTI6MDQNCj4gVG86IGRldkBkcGRrLm9y Zw0KPiBDYzogTGksIFhpYW95dW4gPHhpYW95dW4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