From: Wolfgang Denk Date: Fri, 15 Jan 2010 13:27:06 +0100 Subject: [U-Boot] [PATCH] malloc: return NULL if not initialized yet In-Reply-To: <201001150539.16650.vapier@gentoo.org> References: <1263551117-26553-1-git-send-email-wd@denx.de> <201001150539.16650.vapier@gentoo.org> Message-ID: <20100115122706.EDEE33F6DA@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 Mike Frysinger, In message <201001150539.16650.vapier@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