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
@ -5189,7 +5189,7 @@ e1000_initialize(bd_t * bis)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(nic, 0, sizeof(*dev));
|
memset(nic, 0, sizeof(*nic));
|
||||||
memset(hw, 0, sizeof(*hw));
|
memset(hw, 0, sizeof(*hw));
|
||||||
|
|
||||||
hw->pdev = devno;
|
hw->pdev = devno;
|
||||||
|
Loading…
Reference in New Issue
Block a user