History

net: dsa: mv88e6xxx: fix BMSR error to be consistent with others

Other errors accessing the registers in mv88e6352_serdes_pcs_get_state() print "PHY " before the register name, except for the BMSR. Make this consistent with the other error messages.

Russell King (Oracle) committed 4 years ago

Commit 2b4bb9c1 parent 47e96931 file · +1 −1Browse files

Unified · Split

drivers/net/dsa/mv88e6xxx/serdes.c+1−1
@@ -191,7 +191,7 @@ int mv88e6352_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, int port, · 190 unmodified lines
191 191
192 err = mv88e6352_serdes_read(chip, MII_BMSR, &bmsr);192 err = mv88e6352_serdes_read(chip, MII_BMSR, &bmsr);
193 if (err) {193 if (err) {
194 dev_err(chip->dev, "can't read Serdes BMSR: %d\n", err);194 dev_err(chip->dev, "can't read Serdes PHY BMSR: %d\n", err);
195 return err;195 return err;
196 }196 }
197 197

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