console: avoid passing con=NULL to graphic_hw_update_done()
commit1cd8b9487025966123287e532636f231b46e8398
authorlichun <lichun@ruijie.com.cn>
Fri, 6 Nov 2020 17:03:39 +0000 (7 01:03 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Nov 2020 06:36:33 +0000 (13 07:36 +0100)
tree963a2b32c10a87a62af5daa8948a8f3e4d5e48ac
parenta6e037390dd91276f4a631d41188c87e8a60bb3f
console: avoid passing con=NULL to graphic_hw_update_done()

In graphic_hw_update(), first select an existing console,
a specific-console or active_console(if not specified),
then updating the console.

Signed-off-by: lichun <lichun@ruijie.com.cn>
Message-id: 1604682219-114389-1-git-send-email-lichun@ruijie.com.cn
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/console.c