Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19870
b: refs/heads/master
c: 3418db7
h: refs/heads/master
v: v3
  • Loading branch information
Luiz Fernando Capitulino authored and Jeff Garzik committed Feb 7, 2006
1 parent 3d7d0a1 commit 7153945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0de3adf8f4e5618c5bd62db08ed293042c8e454
refs/heads/master: 3418db7cfacffcf120996b10a785b7315bf0df82
6 changes: 3 additions & 3 deletions trunk/drivers/net/bonding/bond_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static ssize_t bonding_store_slaves(struct class_device *cd, const char *buffer,
char *ifname;
int i, res, found, ret = count;
struct slave *slave;
struct net_device *dev = 0;
struct net_device *dev = NULL;
struct bonding *bond = to_bond(cd);

/* Quick sanity check -- is the bond interface up? */
Expand Down Expand Up @@ -995,7 +995,7 @@ static ssize_t bonding_store_primary(struct class_device *cd, const char *buf, s
printk(KERN_INFO DRV_NAME
": %s: Setting primary slave to None.\n",
bond->dev->name);
bond->primary_slave = 0;
bond->primary_slave = NULL;
bond_select_active_slave(bond);
} else {
printk(KERN_INFO DRV_NAME
Expand Down Expand Up @@ -1123,7 +1123,7 @@ static ssize_t bonding_store_active_slave(struct class_device *cd, const char *b
printk(KERN_INFO DRV_NAME
": %s: Setting active slave to None.\n",
bond->dev->name);
bond->primary_slave = 0;
bond->primary_slave = NULL;
bond_select_active_slave(bond);
} else {
printk(KERN_INFO DRV_NAME
Expand Down

0 comments on commit 7153945

Please sign in to comment.