Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172066
b: refs/heads/master
c: 8528b01
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and David S. Miller committed Dec 2, 2009
1 parent e84c75f commit f3dd6b4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 07f025e6bad7292af3904b8f49cd33e7b5fe3467
refs/heads/master: 8528b016d64a7c1c97ba6540ab53a538348d5026
3 changes: 2 additions & 1 deletion trunk/drivers/net/e1000e/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,8 @@ static int e1000_get_eeprom(struct net_device *netdev,

if (ret_val) {
/* a read error occurred, throw away the result */
memset(eeprom_buff, 0xff, sizeof(eeprom_buff));
memset(eeprom_buff, 0xff, sizeof(u16) *
(last_word - first_word + 1));
} else {
/* Device's eeprom is always little-endian, word addressable */
for (i = 0; i < last_word - first_word + 1; i++)
Expand Down

0 comments on commit f3dd6b4

Please sign in to comment.