From: Wolfgang Denk Date: Mon, 06 Oct 2008 09:28:27 +0200 Subject: [U-Boot] [PATCH] Use correct kzalloc In-Reply-To: <20081006022028.GA5522@july> References: <20081006022028.GA5522@july> Message-ID: <20081006072827.BAC3B81AA426@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kyungmin Park, In message <20081006022028.GA5522@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.