diff options
author | David Woodhouse | 2023-10-20 17:15:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-28 17:07:08 +0000 |
commit | b772e415e1688eac8a6234ae81d4ddc43ea02408 (patch) | |
tree | 212d2a491d012bde58b54186b295123888500035 /mm/slub.c | |
parent | 74db59e63bd894cd87e505ff1846c4d437c2f1ad (diff) |
hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
commit 2704c9a5593f4a47620c12dad78838ca62b52f48 upstream.
The xen_hvc_init() function should always register the frontend driver,
even when there's no primary console — as there may be secondary consoles.
(Qemu can always add secondary consoles, but only the toolstack can add
the primary because it's special.)
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231020161529.355083-3-dwmw2@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions