Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188134
b: refs/heads/master
c: a1ca14a
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and David S. Miller committed Mar 15, 2010
1 parent b0ba845 commit 6b621a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: f28f9e43b3d81d1e69da0ebf77c8a6780cb5e0c8
refs/heads/master: a1ca14ac54675d3bf48d442b5a7b9eba133f1888
3 changes: 1 addition & 2 deletions trunk/net/phonet/pn_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ static void phonet_device_destroy(struct net_device *dev)
if (pnd) {
u8 addr;

for (addr = find_first_bit(pnd->addrs, 64); addr < 64;
addr = find_next_bit(pnd->addrs, 64, 1+addr))
for_each_set_bit(addr, pnd->addrs, 64)
phonet_address_notify(RTM_DELADDR, dev, addr);
kfree(pnd);
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/phonet/pn_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ static int getaddr_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
continue;

addr_idx = 0;
for (addr = find_first_bit(pnd->addrs, 64); addr < 64;
addr = find_next_bit(pnd->addrs, 64, 1+addr)) {
for_each_set_bit(addr, pnd->addrs, 64) {
if (addr_idx++ < addr_start_idx)
continue;

Expand Down

0 comments on commit 6b621a1

Please sign in to comment.