]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: phy: Grammar update for comment in genphy_update_link
authorSimon Horman <horms@kernel.org>
Wed, 21 Jan 2026 19:49:52 +0000 (19:49 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 02:33:42 +0000 (18:33 -0800)
Enhance the grammar of the comment in genphy_update_link()
describing momentary link drop handling.

Found by inspection.

Signed-off-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260121-phy-gra-v1-1-8b4d178939de@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy_device.c

index f624218bf3664f36d58332ac1c78f01334dab0ce..8a3eb1839a3d7748d94ef95593c2283eae9f8665 100644 (file)
@@ -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);