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 8975EA0553 for ; Sun, 26 Jun 2022 12:21:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F18B41141; Sun, 26 Jun 2022 12:21:43 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 6534E41141; Sun, 26 Jun 2022 12:21:41 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A30733200258; Sun, 26 Jun 2022 06:21:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 26 Jun 2022 06:21:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1656238899; x= 1656325299; bh=8R1lXzLhksoUHLmik2noZvros2mgFuJI72GCP/F3phU=; b=G gJqYmtl3KWINigVxdkne7E8JYHxEqdoD7vFiMGnDQUBcAOeG8ihQ5JUVx/lB8fiu PUWNW6fQHrbZNmU1Na8g0RavEWYI409ThiOWT7r/OnhcrUpoFqVH6a7BmBiCgdai /ZWO+lzWkXmJlLbySV+PVWxpo9KpZEDEzYJ+HkvfNYSArGJIRk6mWsZC4qjqBPEq Muqpyxb9LtuxluRncSOWqCh41sS5NGTZ87LWIvGK9erqIkmiQua4Q2LGQn2e7+s1 r153JtikGnhvXMS6uQKo/6888+bYJfuCOCiic8yRnKQYnB/QZzyT9ELGZ2LYWGIm ieknb/0Ix3kBHwJnyfVVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656238899; x= 1656325299; bh=8R1lXzLhksoUHLmik2noZvros2mgFuJI72GCP/F3phU=; b=L UbAcuqxjxesbpXsFmRAt3QZgx73c3XvK9W2DHLJc7v4sdhP2i2hJxQR58+IX/RWS 4v/OmnoKaaNUlOk+f8YQ/JCsc3AURNfg7lOU+KnsVHWZSvIGkjrfksBu2bHEqLdw Uq6DWTZplOZg5YC2ozmaJKClFxhaKH0Ci5IL6PjEcCL+xAIuYEUWtMzm1/Y6xZ2l d0iElDhC3edFy7IrXO1/eaQgMxRcn/5lJlEqR3aql/ZDzm53EGOIzOELRTBS6VbX 1pVeOP34vYeS8LH9eA2TKzNC1iQQ8vBXYBv9wQdyXCSsRF6YV5W8B+9mMEm8Wsfv j/eHF1gKfC2kiZftmlyqQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegfedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Jun 2022 06:21:37 -0400 (EDT) From: Thomas Monjalon To: "Huang, Wei" Cc: "dev@dpdk.org" , "nipun.gupta@nxp.com" , "hemant.agrawal@nxp.com" , stable@dpdk.org, "stable@dpdk.org" , "Xu, Rosen" , "Zhang, Qi Z" , "Zhang, Tianfei" Subject: Re: [PATCH] raw/ifpga/base: check pointer before dereference Date: Sun, 26 Jun 2022 12:21:36 +0200 Message-ID: <8668200.oDFzTOozpa@thomas> In-Reply-To: References: <1655953890-26163-1-git-send-email-wei.huang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > > Do null-checking on hw->adapter in fme_pmci_init() before dereference it. > > > > Coverity issue: 379202 > > Fixes: ca6eb0f7c836 ("raw/ifpga/base: add PMCI base driver") > > > > Signed-off-by: Wei Huang > > It looks good for me. > > Acked-by: Tianfei Zhang Applied, thanks.