diff options
author | Holger Eitzenberger <holger@eitzenberger.org> | 2008-12-10 02:08:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 02:08:55 -0500 |
commit | ef65583d01f4060c758dba72f08edc09d8faa719 (patch) | |
tree | 61fbc6ea1a6b4383eeb92e175e4402b50d30f0a8 /drivers/net/bonding | |
parent | 77afc92b7915b6bb21584474a429a04603ac8963 (diff) |
bonding: fix compile error if debug enabled
This is what I get if debug is enabled:
drivers/net/bonding/bond_ipv6.c: In function 'bond_na_send':
drivers/net/bonding/bond_ipv6.c:75: error: 'slave' undeclared (first use in this function)
drivers/net/bonding/bond_ipv6.c:75: error: (Each undeclared identifier is reported only once
drivers/net/bonding/bond_ipv6.c:75: error: for each function it appears in.)
This patch fixes that.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_ipv6.c b/drivers/net/bonding/bond_ipv6.c index 7c78b7bf671c..11581da5d930 100644 --- a/drivers/net/bonding/bond_ipv6.c +++ b/drivers/net/bonding/bond_ipv6.c | |||
@@ -75,7 +75,7 @@ static void bond_na_send(struct net_device *slave_dev, | |||
75 | addrconf_addr_solict_mult(daddr, &mcaddr); | 75 | addrconf_addr_solict_mult(daddr, &mcaddr); |
76 | 76 | ||
77 | dprintk("ipv6 na on slave %s: dest %pI6, src %pI6\n", | 77 | dprintk("ipv6 na on slave %s: dest %pI6, src %pI6\n", |
78 | slave->name, &mcaddr, daddr); | 78 | slave_dev->name, &mcaddr, daddr); |
79 | 79 | ||
80 | skb = ndisc_build_skb(slave_dev, &mcaddr, daddr, &icmp6h, daddr, | 80 | skb = ndisc_build_skb(slave_dev, &mcaddr, daddr, &icmp6h, daddr, |
81 | ND_OPT_TARGET_LL_ADDR); | 81 | ND_OPT_TARGET_LL_ADDR); |