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 9ACFCA00E6 for ; Tue, 6 Aug 2019 13:15:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67E7A1BE55; Tue, 6 Aug 2019 13:15:01 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C1FFE1BE48; Tue, 6 Aug 2019 13:14:59 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 04:14:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="374020551" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 06 Aug 2019 04:14:58 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 04:14:58 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 04:14:58 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.15]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.250]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 19:14:56 +0800 From: "Zhang, Qi Z" To: "Ye, Xiaolong" , "Zhang, Xiao" CC: "dev@dpdk.org" , "Lu, Wenzhuo" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/e1000: fix unchecked return value coverity issue Thread-Index: AQHVS1BJMofd3nsqx0KLWojQMCqOFabt+YzQ Date: Tue, 6 Aug 2019 11:14:55 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153D79A5D@SHSMSX105.ccr.corp.intel.com> References: <1564954020-38741-1-git-send-email-xiao.zhang@intel.com> <20190805053913.GE51603@intel.com> In-Reply-To: <20190805053913.GE51603@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjI5YTM0M2QtOTUxMy00NGY4LTg5ZDMtN2FjM2IyM2QyOTRlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQm4rWklzZHhEbk1uWUJQS3ZMQXdyZXFLZVZWdjZOMXp1MVFWWVVpSkY2NmVUYUVHeU92bVVRZkxONll0SnBiRiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action 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] net/e1000: fix unchecked return value coverity issue 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" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ye Xiaolong > Sent: Monday, August 5, 2019 1:39 PM > To: Zhang, Xiao > Cc: dev@dpdk.org; Lu, Wenzhuo ; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/e1000: fix unchecked return value > coverity issue >=20 > On 08/05, Xiao Zhang wrote: > >Add return value checking when reading configure information from PCI > >register to avoid coverity issue. > > > >Fixes: 1fc97012 ("net/e1000: fix i219 hang on reset/close") > >Cc: stable@dpdk.org > > > >Signed-off-by: Xiao Zhang > > > Reviewed-by: Xiaolong Ye Applied to dpdk-next-net-intel. Thanks Qi