From: patchwork-bot+netdevbpf@kernel.org
To: Myeonghun Pak <mhun512@gmail.com>
Cc: pavan.chebbi@broadcom.com, mchan@broadcom.com, andrew@lunn.ch,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, ae878000@gmail.com
Subject: Re: [PATCH v3] tg3: clean up PHYLIB resources on probe failure
Date: Tue, 22 Sep 2026 09:20:05 +0000 [thread overview]
Message-ID: <179006880515.3509277.1692281209215676980.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260917183336.36239-1-mhun512@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 17 Sep 2026 14:33:36 -0400 you wrote:
> tg3_get_invariants() can register an MDIO bus and connect a PHY for
> USE_PHYLIB devices. If tg3_init_one() later fails, its common error path
> releases the mappings and netdev without undoing those PHYLIB resources.
>
> Disconnect the PHY and unregister the MDIO bus before the remaining
> teardown. Guard PHY cleanup with USE_PHYLIB to match tg3_phy_init(), and
> call tg3_mdio_fini() unconditionally to match tg3_mdio_init(). The existing
> IS_CONNECTED and MDIOBUS_INITED flags make both helpers safe when
> initialization only completed partially.
>
> [...]
Here is the summary with links:
- [v3] tg3: clean up PHYLIB resources on probe failure
https://git.kernel.org/netdev/net/c/a92e1a412c53
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-09-22 9:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-17 18:33 Myeonghun Pak
2026-09-22 9:20 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179006880515.3509277.1692281209215676980.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=ae878000@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchan@broadcom.com \
--cc=mhun512@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pavan.chebbi@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®