search for: 71eacd1

Displaying 2 results from an estimated 2 matches for "71eacd1".

2012 Sep 03
1
[PATCH] virtio: Don't access device data after unregistration.
.... Tsirkin <mst at redhat.com> cc: virtualization at lists.linux-foundation.org cc: Ohad Ben-Cohen <ohad at wizery.com> --- drivers/virtio/virtio.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index c3b3f7f..71eacd1 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -225,8 +225,9 @@ EXPORT_SYMBOL_GPL(register_virtio_device); void unregister_virtio_device(struct virtio_device *dev) { - device_unregister(&dev->dev); + device_del(&dev->dev); ida_simple_remove(&virtio_ind...
2012 Sep 03
1
[PATCH] virtio: Don't access device data after unregistration.
.... Tsirkin <mst at redhat.com> cc: virtualization at lists.linux-foundation.org cc: Ohad Ben-Cohen <ohad at wizery.com> --- drivers/virtio/virtio.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index c3b3f7f..71eacd1 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c @@ -225,8 +225,9 @@ EXPORT_SYMBOL_GPL(register_virtio_device); void unregister_virtio_device(struct virtio_device *dev) { - device_unregister(&dev->dev); + device_del(&dev->dev); ida_simple_remove(&virtio_ind...