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 EC701A04E0; Wed, 27 Nov 2019 11:59:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CA52F58C3; Wed, 27 Nov 2019 11:59:47 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 4A3D528EE for ; Wed, 27 Nov 2019 11:59:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 02:59:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,249,1571727600"; d="scan'208";a="260974907" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 27 Nov 2019 02:59:45 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 02:59:44 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 02:59:44 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.127]) with mapi id 14.03.0439.000; Wed, 27 Nov 2019 18:59:42 +0800 From: "Li, Xiaoyun" To: "T D, Shashank" , "dev@dpdk.org" Thread-Topic: [PATCH] examples/tep_termination: resolve unchecked return value Thread-Index: AQHVpQ43yZg/Lq9J0EC7Lm3MkvtaZaee1OJQ Date: Wed, 27 Nov 2019 10:59:41 +0000 Message-ID: References: <20191127103359.1957-1-shashank.t.d@intel.com> In-Reply-To: <20191127103359.1957-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWU2M2NmOTgtMjE0Yi00MDdhLTkxNGUtN2YzMTU2OGFhOTkzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTmpEQkdjdWR3WHdnWkpqVk1IMUhYVzNZRkQ1ckRUS3BvVFZaVk9IYnA1N3I1SkU0c1RJRXhmMFRZdGtBY0haTiJ9 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] 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" SGkNClRoZSBwYXRjaCBpcyBmaW5lLiBCdXQgcGxlYXNlIHBvbGlzaCB0aGUgY29tbWl0IGxvZyBm aXJzdC4NCllvdSBjYW4gdXNlIGV4cHJlc3Npb24gbGlrZSAiVGhpcyBwYXRjaCBjaGVja2VkIHRo ZSByZXR1cm4gdmFsdWUgb2YgcnRlX2V0aF9kZXZfaW5mb19nZXQgZnVuY3Rp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