[Cbe-oss-dev] [PATCH] fix cbe_reg.c for "old" SLOF tree.

Arnd Bergmann arnd at arndb.de
Sat Jun 23 04:43:37 EST 2007


On Thursday 21 June 2007, Jean-Christophe Dubois wrote:
> 
> Some SLOF device trees have a "be" node but no "cpus" properties under it. 
> 
> So le'ts fix the crash until the device tree is fixed.
> 
> Signed-off-by: Jean-Christophe DUBOIS <jcd at tribudubois.net>

The patch looks good in principle, but I'd prefer to print a warning
message here, so the error doesn't silently get ignored, same for the
other patches.

If a warning is already printed earlier when the tree is scanned, that
would be fine as well.

	Arnd <><



More information about the cbe-oss-dev mailing list