From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A5CC1A0C53; Thu, 14 Oct 2021 08:26:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 614C040042; Thu, 14 Oct 2021 08:26:36 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id D870B40041 for ; Thu, 14 Oct 2021 08:26:34 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10136"; a="227567088" X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="227567088" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2021 23:26:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="527402584" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 13 Oct 2021 23:26:33 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 13 Oct 2021 23:26:33 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 14 Oct 2021 14:26:31 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Thu, 14 Oct 2021 14:26:31 +0800 From: "Zhang, Qi Z" To: "Su, Simei" CC: "dev@dpdk.org" , "Wu, Wenjun1" Thread-Topic: [PATCH] net/ice: fix dereferenced null pointer Thread-Index: AQHXvnsdts0GXb1U7EO+glUplGH2JKvSC66g Date: Thu, 14 Oct 2021 06:26:31 +0000 Message-ID: <9e7b17b3eb0c4ed290553cd065a95f29@intel.com> References: <20211011082525.87965-1-simei.su@intel.com> In-Reply-To: <20211011082525.87965-1-simei.su@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ice: fix dereferenced null pointer X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Su, Simei > Sent: Monday, October 11, 2021 4:25 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Wu, Wenjun1 ; Su, Simei > > Subject: [PATCH] net/ice: fix dereferenced null pointer >=20 > This patch fixes coverity issue by avoiding use of null pointer in taking= false > branch. >=20 > Coverity issue: 373360 > Fixes: 437dbd2fd428 ("net/ice: support 1PPS") >=20 > Signed-off-by: Simei Su Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi