From: Michael Ellerman Date: Tue, 9 Aug 2005 05:20:19 +0000 (+1000) Subject: [PATCH] ppc64: unflatten_device_tree() should check if lmb_alloc() fails X-Git-Tag: v2.6.14-rc1~1037^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95920324f51b3a12603cf6d9bacbd831f34c5b60;p=pandora-kernel.git [PATCH] ppc64: unflatten_device_tree() should check if lmb_alloc() fails unflatten_device_tree() doesn't check if lmb_alloc() succeeds or not, it should. All it can do is panic, but at least there's an error message (assuming you have some sort of console at that point). Signed-off-by: Michael Ellerman arch/ppc64/kernel/prom.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed