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 CF42DA0548; Fri, 9 Jul 2021 17:19:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BFF84068A; Fri, 9 Jul 2021 17:19:19 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 2EEA54014D for ; Fri, 9 Jul 2021 17:19:17 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10039"; a="270829945" X-IronPort-AV: E=Sophos;i="5.84,226,1620716400"; d="scan'208";a="270829945" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2021 08:19:13 -0700 X-IronPort-AV: E=Sophos;i="5.84,226,1620716400"; d="scan'208";a="488077083" Received: from dhunt5-mobl5.ger.corp.intel.com (HELO [10.252.25.90]) ([10.252.25.90]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2021 08:19:12 -0700 To: David Marchand , Anatoly Burakov Cc: dev References: <77dc13d24d7c77526e088756784ce073bc02fe7f.1625842874.git.anatoly.burakov@intel.com> From: David Hunt Message-ID: <21a68498-84f1-3306-995c-e2564cde49f7@intel.com> Date: Fri, 9 Jul 2021 16:19:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [dpdk-dev] [PATCH v1 1/1] power: fix potential null dereferences 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" On 9/7/2021 4:09 PM, David Marchand wrote: > On Fri, Jul 9, 2021 at 5:02 PM Anatoly Burakov > wrote: >> Currently, the error paths can lead to attempts at dereferencing NULL >> pointers. Add the check to avoid attempts at dereferencing NULL >> pointers. >> > Coverity issue: 371895 This patch also fixes Coverity issue: 371889 Rgds, Dave > >> Fixes: 06cffd468fdd ("power: refactor ACPI and intel_pstate support") >> >> Signed-off-by: Anatoly Burakov > Reviewed-by: David Marchand > >