Re: [PATCH] virtio: console: fix error handling in init() function

2012-09-09 Thread Rusty Russell
Amit Shah writes: > On (Sat) 01 Sep 2012 [23:49:37], Alexey Khoroshilov wrote: >> 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). >> >>

Re: [PATCH] virtio: console: fix error handling in init() function

2012-09-09 Thread Amit Shah
Hi Alexey, On (Sat) 01 Sep 2012 [23:49:37], Alexey Khoroshilov wrote: > 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:

Re: [PATCH] virtio: console: fix error handling in init() function

2012-09-09 Thread Amit Shah
Hi Alexey, On (Sat) 01 Sep 2012 [23:49:37], Alexey Khoroshilov wrote: 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

Re: [PATCH] virtio: console: fix error handling in init() function

2012-09-09 Thread Rusty Russell
Amit Shah amit.s...@redhat.com writes: On (Sat) 01 Sep 2012 [23:49:37], Alexey Khoroshilov wrote: 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).

[PATCH] virtio: console: fix error handling in init() function

2012-09-01 Thread Alexey Khoroshilov
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 --- drivers/char/virtio_console.c | 12 +++- 1 file

[PATCH] virtio: console: fix error handling in init() function

2012-09-01 Thread Alexey Khoroshilov
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 khoroshi...@ispras.ru --- drivers/char/virtio_console.c | 12