From: Benjamin Herrenschmidt Date: Mon, 15 Jul 2013 03:03:14 +0000 (+1000) Subject: powerpc/powernv: Don't crash if there are no OPAL consoles X-Git-Tag: v3.12-rc1~123^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2db29d28eb100e464cfaf1a2146d0bf58198212d;p=pandora-kernel.git powerpc/powernv: Don't crash if there are no OPAL consoles Some machines might provide the console via a different mechanism such as direct access to a UART from Linux, in which case OPAL might not expose any console. In that case, the code would cause a NULL dereference. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed