]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: sftp: print debug message with text, not numbers
authorAndrew Lunn <andrew@lunn.ch>
Wed, 8 Aug 2018 18:54:12 +0000 (20:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 21:19:20 +0000 (14:19 -0700)
commitc09d44c8dc4d61e83123af5d5bc2b6f3a157a318
tree2c6f0ccedc1950b85b328d2a0f4dc9f2f296c48b
parent3711394299c7e813b29fcce0abe52b5a4a5f53ac
net: phy: sftp: print debug message with text, not numbers

Convert the state numbers, device state, etc from numbers to strings
when printing debug messages.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c