mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-16 12:59:12 +01:00
net: e1000: typo using wrong argument to sizeof
Typo from 4b29bdb0ed
Signed-off-by: Matthew McClintock <msm@freescale.com>
This commit is contained in:
parent
6d8962e814
commit
f7ac99fdd9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue