[U-Boot] [PATCH] Use correct kzalloc

Wolfgang Denk wd at denx.de
Mon Oct 6 09:28:27 CEST 2008


Dear Kyungmin Park,

In message <20081006022028.GA5522 at july> you wrote:
> I'm not sure calloc returns all zero values.

Why aren't you sure? Check the code...

> Actually the calloc uses the __libc_alloc.

Ooops?  What exactly are you talking about?

It makes no sense to reinvent the wheel here.

If calloc() should have a problem (which I don't believe) it needs to
be fixed.

NAK for this patch.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The human mind  ordinarily  operates  at  only  ten  percent  of  its
capacity. The rest is overhead for the operating system.


More information about the U-Boot mailing list