mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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>
This commit is contained in:
parent
e0f5fa99a3
commit
2db29d28eb
1 changed files with 9 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue