]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ppc64: unflatten_device_tree() should check if lmb_alloc() fails
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 9 Aug 2005 05:20:19 +0000 (15:20 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 29 Aug 2005 00:53:38 +0000 (10:53 +1000)
commit95920324f51b3a12603cf6d9bacbd831f34c5b60
treef74faa0172cc88148e00b1484fd97fa90d2d9d23
parent145ec7d51ae507c7cc8889ad05e24af05bbd9147
[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 <michael@ellerman.id.au>
 arch/ppc64/kernel/prom.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/prom.c