Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15763
b: refs/heads/master
c: 178f171
h: refs/heads/master
i:
  15761: 4333f25
  15759: 9408245
v: v3
  • Loading branch information
Lennert Buytenhek authored and Jeff Garzik committed Dec 1, 2005
1 parent 50842b8 commit 80f5de9
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: 0c49919a4706cc8c72ff381da7f3ae094e6df03a
refs/heads/master: 178f171da7f0ea5cfc1c45932680c81b3a8a0bd6
2 changes: 1 addition & 1 deletion trunk/drivers/net/ixp2000/pm3386.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void pm3386_get_stats(int port, struct net_device_stats *stats)
while (pm3386_port_reg_read(port, 0x500, 0x100) & 0x0001)
;

memset(stats, 0, sizeof(stats));
memset(stats, 0, sizeof(*stats));

stats->rx_packets = pm3386_get_stat(port, 0x510);
stats->tx_packets = pm3386_get_stat(port, 0x590);
Expand Down

0 comments on commit 80f5de9

Please sign in to comment.