Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300727
b: refs/heads/master
c: 302846e
h: refs/heads/master
i:
  300725: 523cc8e
  300723: 88c8c20
  300719: 97048c3
v: v3
  • Loading branch information
Jim Cromie authored and David S. Miller committed Apr 13, 2012
1 parent a6bc5c2 commit 2d9afca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 4133099b3e1ffd63476ede836a5a10aa26fa93d0
refs/heads/master: 302846e3a692131a99b462078fe232ca2927b9d3
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/s6gmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ static struct net_device_stats *s6gmac_stats(struct net_device *dev)
do {
unsigned long flags;
spin_lock_irqsave(&pd->lock, flags);
for (i = 0; i < sizeof(pd->stats) / sizeof(unsigned long); i++)
for (i = 0; i < ARRAY_SIZE(pd->stats); i++)
pd->stats[i] =
pd->carry[i] << (S6_GMAC_STAT_SIZE_MIN - 1);
s6gmac_stats_collect(pd, &statinf[0][0]);
Expand Down

0 comments on commit 2d9afca

Please sign in to comment.