Re: [patch 3/4] cpu alloc: The allocator

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Friday, September 19, 2008 - 7:27 am

Pekka Enberg wrote:

How would you do this?

if (condition) {
	WARN_ON(1);
	return NULL;
}

or do we have a macro for this situation.

if (WARN(condition))
	return NULL;

?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Thu Sep 18, 4:36 pm)
Re: [patch 3/4] cpu alloc: The allocator, Pekka Enberg, (Fri Sep 19, 12:58 am)
Re: [patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Fri Sep 19, 6:11 am)
Re: [patch 3/4] cpu alloc: The allocator, Pekka Enberg, (Fri Sep 19, 7:12 am)
Re: [patch 3/4] cpu alloc: The allocator, Christoph Lameter, (Fri Sep 19, 7:27 am)
Re: [patch 3/4] cpu alloc: The allocator, Pekka Enberg, (Fri Sep 19, 7:35 am)