Skip to content
Snippets Groups Projects
Commit 4b29bdb0 authored by Kumar Gala's avatar Kumar Gala Committed by Wolfgang Denk
Browse files

net: e1000: Add initialized eth_device & e1000_hw structure


nic and hw structures are allocated via malloc i.e. return memory
is not zero initialized. Because of this few structure member like
"function pointers" are initialized with garbage values.

It may cause problem. for eg. during eth_initialize, dev->write_hwaddr
is used.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>

Fixed typo.
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent fe7f1883
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment