Skip to contentSkip to conversation

net: phy: Grammar update for comment in genphy_update_link

PATCH Applied Simon Horman 2 participants 2 messages Jan 21 – Jan 23

Subsystems (3)
lore
Share & tools
lore

Simon Horman

author reviewer
#0 lore raw

PATCH 1/1 net: phy: Grammar update for comment in genphy_update_link

Enhance the grammar of the comment in genphy_update_link() describing momentary link drop handling.

Found by inspection.

---
 drivers/net/phy/phy_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/phy_device.c +1 -1
index f624218bf3664f36d58332ac1c78f01334dab0ce..8a3eb1839a3d7748d94ef95593c2283eae9f8665 100644
@@ -2472,7 +2472,7 @@ int genphy_update_link(struct phy_device *phydev)
 	/* The link state is latched low so that momentary link
 	 * drops can be detected. Do not double-read the status
 	 * in polling mode to detect such short link drops except
-	 * the link was already down.
+	 * if the link was already down.
 	 */
 	if (!phy_polling_mode(phydev) || !phydev->link) {
 		status = phy_read(phydev, MII_BMSR);
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Wed, 21 Jan 2026 19:49:52 +0000 you wrote:

Enhance the grammar of the comment in genphy_update_link() describing momentary link drop handling.

Found by inspection.

[...]

Here is the summary with links:
- net: phy: Grammar update for comment in genphy_update_link

    https://git.kernel.org/netdev/net-next/c/0b87bbf65d7d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html