lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH 3/14] arch/ia64: Eliminate NULL test and memset after alloc_bootmem
> In addition the current alloc_bootmem() is a macro that uses __alloc_bootmem
> which most defintely can return NULL.

...
panic("Out of memory");
return NULL;
}

Oops ... that "panic" call before the "return NULL" makes the
above statement totally wrong.

-Tony


\
 
 \ /
  Last update: 2008-06-24 19:59    [W:0.040 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site