RE: [PATCH 3/14] arch/ia64: Eliminate NULL test and memset after alloc_bootmem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 Jun 2008, Luck, Tony wrote:

> > 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.

Thanks.  I was worried there might be somewhere a non-aborting version of 
panic.  But that would be really confusing...

julia

--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux