mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
net: sfp: Fix typo in state machine debug string
[ Upstream commit25a9da6641
] The string should be "tx_disable" to match the state enum. Fixes:4005a7cb4f
("net: phy: sftp: print debug message with text, not numbers") Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3ec73ffeef
commit
144715fbab
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ static const char * const sm_state_strings[] = {
|
||||||
[SFP_S_LINK_UP] = "link_up",
|
[SFP_S_LINK_UP] = "link_up",
|
||||||
[SFP_S_TX_FAULT] = "tx_fault",
|
[SFP_S_TX_FAULT] = "tx_fault",
|
||||||
[SFP_S_REINIT] = "reinit",
|
[SFP_S_REINIT] = "reinit",
|
||||||
[SFP_S_TX_DISABLE] = "rx_disable",
|
[SFP_S_TX_DISABLE] = "tx_disable",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *sm_state_to_str(unsigned short sm_state)
|
static const char *sm_state_to_str(unsigned short sm_state)
|
||||||
|
|
Loading…
Reference in a new issue