projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d8962e
)
net: e1000: typo using wrong argument to sizeof
author
Matthew McClintock
<msm@freescale.com>
Tue, 16 Nov 2010 00:02:53 +0000
(18:02 -0600)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 17 Nov 2010 21:05:11 +0000
(22:05 +0100)
Typo from
4b29bdb0ed08412d225a8be94f61fc6c37a59dd5
Signed-off-by: Matthew McClintock <msm@freescale.com>
drivers/net/e1000.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000.c
b/drivers/net/e1000.c
index 18584efdd53204aede763c8f6efa0acd62c58290..60b04c267cbd9fd421b31f06997a87482dbde9f8 100644
(file)
--- a/
drivers/net/e1000.c
+++ b/
drivers/net/e1000.c
@@
-5189,7
+5189,7
@@
e1000_initialize(bd_t * bis)
return 0;
}
- memset(nic, 0, sizeof(*
dev
));
+ memset(nic, 0, sizeof(*
nic
));
memset(hw, 0, sizeof(*hw));
hw->pdev = devno;