[Cbe-oss-dev] [patch 07/13] cell: fix cbe_reg.c for legacy SLOF tree.

Andrew Morton akpm at linux-foundation.org
Thu Jul 19 05:54:32 EST 2007


On Wed, 18 Jul 2007 18:04:46 +0200
Arnd Bergmann <arnd at arndb.de> wrote:

> +		if (!cpu_handle) {
> +			WARN_ON_ONCE(!cpu_handle);
> +			continue;
> +		}

fyi, WARN_ON(expr) and WARN_ON_ONCE(expr) now return `expr', so this could
have been more neatly coded as

	if (WARN_ON_ONCE(!cpu_handle))
		continue;





More information about the cbe-oss-dev mailing list