commit | 2db29d28eb100e464cfaf1a2146d0bf58198212d | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jul 15 13:03:14 2013 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 14 14:58:27 2013 +1000 |
tree | 9166c28c6353e87fe8fca69915d2828779c1b81b | |
parent | e0f5fa99a378d6910d234f3c8998aebfe2f54745 [diff] |
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 <benh@kernel.crashing.org>