[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166928101604.31076.14156851234378226224.git-patchwork-notify@kernel.org>
Date: Thu, 24 Nov 2022 09:10:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Xiongfeng Wang <wangxiongfeng2@...wei.com>
Cc: saeed@...nel.org, sgoutham@...vell.com, lcherian@...vell.com,
gakula@...vell.com, jerinj@...vell.com, hkelam@...vell.com,
sbhatta@...vell.com, davem@...emloft.net, radhac@...vell.com,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
pnalla@...vell.com, snilla@...vell.com, netdev@...r.kernel.org,
yangyingliang@...wei.com
Subject: Re: [PATCH v2] octeontx2-af: Fix reference count issue in rvu_sdp_init()
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Wed, 23 Nov 2022 14:59:19 +0800 you wrote:
> pci_get_device() will decrease the reference count for the *from*
> parameter. So we don't need to call put_device() to decrease the
> reference. Let's remove the put_device() in the loop and only decrease
> the reference count of the returned 'pdev' for the last loop because it
> will not be passed to pci_get_device() as input parameter. We don't need
> to check if 'pdev' is NULL because it is already checked inside
> pci_dev_put(). Also add pci_dev_put() for the error path.
>
> [...]
Here is the summary with links:
- [v2] octeontx2-af: Fix reference count issue in rvu_sdp_init()
https://git.kernel.org/netdev/net/c/ad17c2a3f11b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists