[U-Boot] [PATCH][v0] e1000_initialize: memset 0x0 nic and hw structure before their use
Kumar Gala
galak at kernel.crashing.org
Thu Nov 11 16:43:17 CET 2010
On Nov 11, 2010, at 1:37 AM, Wolfgang Denk wrote:
> Dear Prabhakar,
>
> In message <1289451431-22179-1-git-send-email-prabhakar at freescale.com> you wrote:
>> 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.
>
> thanks. I already have a patch series "Add initialized eth_device
> structure" on my stack. I think this covers this, too.
which patch is that?
- k
More information about the U-Boot
mailing list