mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
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: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
09c1d446fe
commit
d9e179ecec
@ -31,7 +31,7 @@ static const char *const br_port_state_names[] = {
|
||||
|
||||
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,
|
||||
br_port_state_names[p->state]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user