aboutsummaryrefslogtreecommitdiffstats
path: root/lib/errseq.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2018-04-20 18:00:13 +0000
committerMichael S. Tsirkin <[email protected]>2018-04-25 17:41:29 +0000
commit5c60300d68da32ca77f7f978039dc72bfc78b06b (patch)
treef45f092ae920b4a1c8b990855cde54d7fa5ee1fc /lib/errseq.c
parentvirtio_console: move removal code (diff)
downloadkernel-5c60300d68da32ca77f7f978039dc72bfc78b06b.tar.gz
kernel-5c60300d68da32ca77f7f978039dc72bfc78b06b.zip
virtio_console: reset on out of memory
When out of memory and we can't add ctrl vq buffers, probe fails. Unfortunately the error handling is out of spec: it calls del_vqs without bothering to reset the device first. To fix, call the full cleanup function in this case. Cc: [email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'lib/errseq.c')
0 files changed, 0 insertions, 0 deletions