History

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.

Simon Horman committed 9 months ago

Commit 0b87bbf1 parent d07d7c31 file · +1 −1Browse files

Unified · Split

drivers/net/phy/phy_device.c+1−1
@@ -2472,7 +2472,7 @@ int genphy_update_link(struct phy_device *phydev) · 2471 unmodified lines
24722472 /* The link state is latched low so that momentary link
24732473 * drops can be detected. Do not double-read the status
24742474 * in polling mode to detect such short link drops except
2475− * the link was already down.
2475+ * if the link was already down.
24762476 */
24772477 if (!phy_polling_mode(phydev) || !phydev->link) {
24782478 status = phy_read(phydev, MII_BMSR);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t