projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c1d44
)
bridge: br_log_state() s/entering/entered/
author
Paulius Zaleckas
<paulius.zaleckas@gmail.com>
Tue, 6 Mar 2012 22:25:14 +0000
(22:25 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Mar 2012 08:25:25 +0000
(
00:25
-0800)
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>
net/bridge/br_stp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_stp.c
b/net/bridge/br_stp.c
index 6751ed4e0c074a8bd0f692ccdf5df0d001e0d3dc..8c836d96ba769eaaf4b62ce76b26c7e5e4f814b0 100644
(file)
--- a/
net/bridge/br_stp.c
+++ b/
net/bridge/br_stp.c
@@
-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) enter
ing
%s state\n",
+ br_info(p->br, "port %u(%s) enter
ed
%s state\n",
(unsigned) p->port_no, p->dev->name,
br_port_state_names[p->state]);
}