summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorDavid Decotigny2011-04-13 17:22:29 +0200
committerDavid S. Miller2011-04-15 07:00:31 +0200
commitd30ee670f25ea8f265a2804e2a0a53804cac5185 (patch)
tree7a8d3b92f26cb3e9570df2989a0b8ea462027a1a /drivers/net/bonding/bonding.h
parentqlge: make nic_operations struct const (diff)
downloadkernel-qcow2-linux-d30ee670f25ea8f265a2804e2a0a53804cac5185.tar.gz
kernel-qcow2-linux-d30ee670f25ea8f265a2804e2a0a53804cac5185.tar.xz
kernel-qcow2-linux-d30ee670f25ea8f265a2804e2a0a53804cac5185.zip
net-bonding: Fix minor sparse complaints
This gets rid of minor sparse complaints: drivers/net/bonding/bond_main.c:4361:4: warning: do-while statement is not a compound statement drivers/net/bonding/bond_main.c:243:12: warning: symbol 'bond_mode_name' was not declared. Should it be static? Signed-off-by: David Decotigny <decot@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 90736cb4d975..3ca503e50718 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -416,6 +416,7 @@ void bond_destroy_debugfs(void);
void bond_debug_register(struct bonding *bond);
void bond_debug_unregister(struct bonding *bond);
void bond_debug_reregister(struct bonding *bond);
+const char *bond_mode_name(int mode);
struct bond_net {
struct net * net; /* Associated network namespace */