* [PATCH] net: phy: update outdated comment for removed phy_package_read/write()
@ 2026-03-21 10:58 Kexin Sun
2026-03-24 12:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Kexin Sun @ 2026-03-21 10:58 UTC (permalink / raw)
To: andrew, hkallweit1, linux, davem, edumazet, kuba, pabeni, netdev,
linux-kernel
Cc: julia.lawall, xutong.ma, kexinsun, yunbolyu, ratnadiraw
The locked convenience functions phy_package_read() and
phy_package_write() were removed (as they had no users) by commit
e7f984e925d2 ("net: phy: move PHY package related code from phy.h
to phy_package.c"). Update the comment to reference the existing
unlocked counterparts __phy_package_read() and __phy_package_write().
Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
---
drivers/net/phy/phy_package.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/phy_package.c b/drivers/net/phy/phy_package.c
index 63e4f862f731..16ae8d1c1f89 100644
--- a/drivers/net/phy/phy_package.c
+++ b/drivers/net/phy/phy_package.c
@@ -194,8 +194,8 @@ EXPORT_SYMBOL_GPL(phy_package_probe_once);
* for offset calculation to access generic registers of a PHY package.
* Usually, one of the PHY addresses of the different PHYs in the package
* provides access to these global registers.
- * The address which is given here, will be used in the phy_package_read()
- * and phy_package_write() convenience functions as base and added to the
+ * The address which is given here, will be used in the __phy_package_read()
+ * and __phy_package_write() convenience functions as base and added to the
* passed offset in those functions.
*
* This will set the shared pointer of the phydev to the shared storage.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: phy: update outdated comment for removed phy_package_read/write()
2026-03-21 10:58 [PATCH] net: phy: update outdated comment for removed phy_package_read/write() Kexin Sun
@ 2026-03-24 12:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-24 12:30 UTC (permalink / raw)
To: Kexin Sun
Cc: andrew, hkallweit1, linux, davem, edumazet, kuba, pabeni, netdev,
linux-kernel, julia.lawall, xutong.ma, yunbolyu, ratnadiraw
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Sat, 21 Mar 2026 18:58:25 +0800 you wrote:
> The locked convenience functions phy_package_read() and
> phy_package_write() were removed (as they had no users) by commit
> e7f984e925d2 ("net: phy: move PHY package related code from phy.h
> to phy_package.c"). Update the comment to reference the existing
> unlocked counterparts __phy_package_read() and __phy_package_write().
>
> Assisted-by: unnamed:deepseek-v3.2 coccinelle
> Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
>
> [...]
Here is the summary with links:
- net: phy: update outdated comment for removed phy_package_read/write()
https://git.kernel.org/netdev/net-next/c/a4b908c89d88
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:[~2026-03-24 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-21 10:58 [PATCH] net: phy: update outdated comment for removed phy_package_read/write() Kexin Sun
2026-03-24 12: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