From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3D8B4A0471 for ; Mon, 17 Jun 2019 11:10:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 75C8A1BE8D; Mon, 17 Jun 2019 11:10:17 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 52EE01BE8C for ; Mon, 17 Jun 2019 11:10:16 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jun 2019 02:10:14 -0700 X-ExtLoop1: 1 Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga007.fm.intel.com with ESMTP; 17 Jun 2019 02:10:14 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.80]) by irsmsx110.ger.corp.intel.com ([169.254.15.217]) with mapi id 14.03.0439.000; Mon, 17 Jun 2019 10:09:59 +0100 From: "Zhang, Roy Fan" To: Jens Freimann CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] examples/vhost_crypto: fix unchecked return value Thread-Index: AQHVCzuCmDlOx5G3cUGjHElDgmzfxKZtVX2AgDJsncA= Date: Mon, 17 Jun 2019 09:09:59 +0000 Message-ID: <9F7182E3F746AB4EA17801C148F3C6043363953D@IRSMSX101.ger.corp.intel.com> References: <20190515162548.71498-1-roy.fan.zhang@intel.com> <20190516080709.pq3wwurtynf6dnwy@jenstp.localdomain> In-Reply-To: <20190516080709.pq3wwurtynf6dnwy@jenstp.localdomain> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODljMWIzMDUtZjBjYS00MzI1LTg5MGQtNDViNzE1OTgxN2FmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSHozWkZKU1pERlFsZU02ZFRuZTAyWkRtQ0luZXRnKzlVNGprODNlM0pKOGpQRkhaR015czBNWUhVcDdVUmRYZCJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/vhost_crypto: fix 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" Hi Jens, You are right. Sorry the code wasn't cleaned up properly in the first place= . Do you want me to send a v2 with new title? Regards, Fan > -----Original Message----- > From: Jens Freimann [mailto:jfreimann@redhat.com] > Sent: Thursday, May 16, 2019 9:07 AM > To: Zhang, Roy Fan > Cc: dev@dpdk.org; maxime.coquelin@redhat.com; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/vhost_crypto: fix unchecked > return value >=20 > On Wed, May 15, 2019 at 05:25:48PM +0100, Fan Zhang wrote: > >This patch tries to fix the coverity issue of unchecked return value. > >Since the function that causes the problem is unused, it is removed > >completely. > > > >Coverity issue: 336816 > >Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") > >Cc: stable@dpdk.org > > > >Signed-off-by: Fan Zhang > >--- > > examples/vhost_crypto/main.c | 6 ------ > > 1 file changed, 6 deletions(-) > > >=20 > It really is unused. >=20 > Reviewed-by: Jens Freimann >=20