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 15A8DC5B0 for ; Thu, 16 Jun 2016 10:43:17 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 16 Jun 2016 01:43:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,478,1459839600"; d="scan'208";a="998785343" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga002.jf.intel.com with ESMTP; 16 Jun 2016 01:43:16 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.183]) by IRSMSX151.ger.corp.intel.com ([169.254.4.151]) with mapi id 14.03.0248.002; Thu, 16 Jun 2016 09:43:15 +0100 From: "De Lara Guarch, Pablo" To: "Mrozowicz, SlawomirX" CC: "dev@dpdk.org" Thread-Topic: [PATCH] app/testpmd: unchecked return value Thread-Index: AQHRxulW2ClGwZ+p0ECXa3CaQRA7DZ/ryABw Date: Thu, 16 Jun 2016 08:43:14 +0000 Message-ID: References: <1465986822-22243-1-git-send-email-slawomirx.mrozowicz@intel.com> In-Reply-To: <1465986822-22243-1-git-send-email-slawomirx.mrozowicz@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmQwZGQ2MTgtMDI5YS00NTBmLWIzNWItNWQ1ZDU1NjYwZTQ5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ijh3K2kwckpFOG45QytlSjVcL3JzYWxXalJycUFrZnErWGlIZUhQRDdDMGY0PSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: unchecked return value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 08:43:18 -0000 > -----Original Message----- > From: Mrozowicz, SlawomirX > Sent: Wednesday, June 15, 2016 11:34 AM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org; Mrozowicz, SlawomirX > Subject: [PATCH] app/testpmd: unchecked return value >=20 > Calling rte_eth_dev_rss_hash_update without checking return value. > Fixed by handle return value and print out error status. >=20 > Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings") > Coverity ID 119251 >=20 > Signed-off-by: Slawomir Mrozowicz Acked-by: Pablo de Lara