diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/bridge/br_stp.c | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_stp.c')
-rw-r--r-- | net/bridge/br_stp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c index 8c836d96ba76..af9a12099ba4 100644 --- a/net/bridge/br_stp.c +++ b/net/bridge/br_stp.c | |||
@@ -32,7 +32,7 @@ static const char *const br_port_state_names[] = { | |||
32 | void br_log_state(const struct net_bridge_port *p) | 32 | void br_log_state(const struct net_bridge_port *p) |
33 | { | 33 | { |
34 | br_info(p->br, "port %u(%s) entered %s state\n", | 34 | br_info(p->br, "port %u(%s) entered %s state\n", |
35 | (unsigned) p->port_no, p->dev->name, | 35 | (unsigned int) p->port_no, p->dev->name, |
36 | br_port_state_names[p->state]); | 36 | br_port_state_names[p->state]); |
37 | } | 37 | } |
38 | 38 | ||
@@ -478,7 +478,7 @@ void br_received_tcn_bpdu(struct net_bridge_port *p) | |||
478 | { | 478 | { |
479 | if (br_is_designated_port(p)) { | 479 | if (br_is_designated_port(p)) { |
480 | br_info(p->br, "port %u(%s) received tcn bpdu\n", | 480 | br_info(p->br, "port %u(%s) received tcn bpdu\n", |
481 | (unsigned) p->port_no, p->dev->name); | 481 | (unsigned int) p->port_no, p->dev->name); |
482 | 482 | ||
483 | br_topology_change_detection(p->br); | 483 | br_topology_change_detection(p->br); |
484 | br_topology_change_acknowledge(p); | 484 | br_topology_change_acknowledge(p); |