summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2012-09-01 21:49:37 +0200
committerRusty Russell <rusty@rustcorp.com.au>2012-09-28 07:35:13 +0200
commit33e1afc3d82697599ccc8dc8f2fa44ffff5ae329 (patch)
treeb4b1c2b403a9b8a9a84c2a7d90e234b0703bec63 /scripts
parenttools: Fix pthread flag for Makefile of trace-agent used by virtio-trace (diff)
downloadlinux-33e1afc3d82697599ccc8dc8f2fa44ffff5ae329.tar.xz
linux-33e1afc3d82697599ccc8dc8f2fa44ffff5ae329.zip
virtio: console: fix error handling in init() function
If register_virtio_driver() fails, virtio-ports class is not destroyed. The patch adds error handling of register_virtio_driver(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Acked-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions