* [PATCH -next] drivers: net: hippi: Add missing pci_disable_device() in rr_init_one()
@ 2022-09-23 9:43 ruanjinjie
2022-09-26 20:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: ruanjinjie @ 2022-09-23 9:43 UTC (permalink / raw)
To: jes, davem, edumazet, kuba, pabeni, linux-hippi, netdev,
linux-kernel
Cc: ruanjinjie
Add missing pci_disable_device() if rr_init_one() fails
Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
---
drivers/net/hippi/rrunner.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/hippi/rrunner.c b/drivers/net/hippi/rrunner.c
index 74e845fa2e07..aa8f828a0ae7 100644
--- a/drivers/net/hippi/rrunner.c
+++ b/drivers/net/hippi/rrunner.c
@@ -213,6 +213,7 @@ static int rr_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
pci_iounmap(pdev, rrpriv->regs);
if (pdev)
pci_release_regions(pdev);
+ pci_disable_device(pdev);
out2:
free_netdev(dev);
out3:
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] drivers: net: hippi: Add missing pci_disable_device() in rr_init_one()
2022-09-23 9:43 [PATCH -next] drivers: net: hippi: Add missing pci_disable_device() in rr_init_one() ruanjinjie
@ 2022-09-26 20:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-09-26 20:30 UTC (permalink / raw)
To: ruanjinjie
Cc: jes, davem, edumazet, kuba, pabeni, linux-hippi, netdev,
linux-kernel
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 23 Sep 2022 17:43:20 +0800 you wrote:
> Add missing pci_disable_device() if rr_init_one() fails
>
> Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
> ---
> drivers/net/hippi/rrunner.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- [-next] drivers: net: hippi: Add missing pci_disable_device() in rr_init_one()
https://git.kernel.org/netdev/net/c/0dc383796f9c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-26 20:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23 9:43 [PATCH -next] drivers: net: hippi: Add missing pci_disable_device() in rr_init_one() ruanjinjie
2022-09-26 20:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox