From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 353F05A31 for ; Tue, 24 May 2016 02:34:33 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 23 May 2016 17:34:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,358,1459839600"; d="scan'208";a="960848417" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 23 May 2016 17:34:33 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 23 May 2016 17:34:31 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 23 May 2016 17:34:30 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.58]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0248.002; Tue, 24 May 2016 08:34:28 +0800 From: "Zhang, Helin" To: "Mrozowicz, SlawomirX" , "Wu, Jingjing" CC: "dev@dpdk.org" Thread-Topic: [PATCH] i40e: Unchecked return value Thread-Index: AQHRtO1xmqfLsCLThk61GqdkxegZvp/HPhbw Date: Tue, 24 May 2016 00:34:28 +0000 Message-ID: References: <1464006315-9537-1-git-send-email-slawomirx.mrozowicz@intel.com> In-Reply-To: <1464006315-9537-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-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGU1N2RhY2ItZDQ1Yy00MjkyLTk3NWQtMzc2NjhlMWQ1OWYxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlVTUnI0b3VxSHNSSEtveldOdUJmRHZsNFdcL0lyQXUyWGR1bGRjZzhvMmprPSJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40e: 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: Tue, 24 May 2016 00:34:34 -0000 > -----Original Message----- > From: Mrozowicz, SlawomirX > Sent: Monday, May 23, 2016 8:25 PM > To: Zhang, Helin ; Wu, Jingjing > Cc: dev@dpdk.org; Mrozowicz, SlawomirX > Subject: [PATCH] i40e: Unchecked return value >=20 > Calling i40e_switch_tx_queue without checking return value. > Fixed by add warning log information if return failed. >=20 > Fixes: 71d35259ff67 ("i40e: tear down flow director") Coverity ID 13208 >=20 > Signed-off-by: Slawomir Mrozowicz Acked-by: Helin Zhang