Commit d9e179ec authored by Paulius Zaleckas's avatar Paulius Zaleckas Committed by David S. Miller

bridge: br_log_state() s/entering/entered/

When br_log_state() is reporting state it should say "entered"
istead of "entering" since state at this point is already
changed.
Signed-off-by: default avatarPaulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 09c1d446
...@@ -31,7 +31,7 @@ static const char *const br_port_state_names[] = { ...@@ -31,7 +31,7 @@ static const char *const br_port_state_names[] = {
void br_log_state(const struct net_bridge_port *p) void br_log_state(const struct net_bridge_port *p)
{ {
br_info(p->br, "port %u(%s) entering %s state\n", br_info(p->br, "port %u(%s) entered %s state\n",
(unsigned) p->port_no, p->dev->name, (unsigned) p->port_no, p->dev->name,
br_port_state_names[p->state]); br_port_state_names[p->state]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment