[U-Boot] [PATCH] malloc: return NULL if not initialized yet

Wolfgang Denk wd at denx.de
Fri Jan 15 13:27:06 CET 2010


Dear Mike Frysinger,

In message <201001150539.16650.vapier at gentoo.org> you wrote:
>
> On Friday 15 January 2010 05:25:17 Wolfgang Denk wrote:
> > +  if ((mem_malloc_start == 0) && (mem_malloc_end ==0)) {
> 
> missing space ?  "==0" -> "== 0" ?

Right. Will fix this then applying.

Thanks for catching.

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
Another war ... must it always be so?  How many comrades have we lost
in this way? ...  Obedience.  Duty.  Death, and more death ...
	-- Romulan Commander, "Balance of Terror", stardate 1709.2


More information about the U-Boot mailing list