]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
virtio_console: init work unconditionally
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Mar 2015 00:15:30 +0000 (10:45 +1030)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 28 Mar 2015 13:36:47 +0000 (09:36 -0400)
commit0b39fb19628e0f55676ce81e1411c45b7aebf43f
treeb70b15ea528d150aa5e63436c402dcf1b601a5bb
parent5850222dacf683137f7c6a893636daace65e6ad2
virtio_console: init work unconditionally

[ Upstream commit 4f6e24ed9de8634d6471ef86b382cba6d4e57ca8 ]

when multiport is off, we don't initialize config work,
but we then cancel uninitialized control_work on freeze.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/char/virtio_console.c