aboutsummaryrefslogtreecommitdiff
path: root/lib/libvirtio
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2016-04-26 10:27:41 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2016-05-02 14:04:37 +1000
commit73ffb4b37fe3d21b6266c3f4c12a5d66aab8fadc (patch)
tree4505d005e7cf41588b6c3f65b04703be4f6b6bc0 /lib/libvirtio
parent190220ae8134d1f671b2db3c7e377e81208e9a91 (diff)
downloadSLOF-73ffb4b37fe3d21b6266c3f4c12a5d66aab8fadc.zip
SLOF-73ffb4b37fe3d21b6266c3f4c12a5d66aab8fadc.tar.gz
SLOF-73ffb4b37fe3d21b6266c3f4c12a5d66aab8fadc.tar.bz2
virtio: White space cleanup in virtio-9p.c
Simple cosmetical fix - some lines were indented with spaces instead of tabs. Change it to be in line with the coding conventions. Signed-off-by: Thomas Huth <thuth@redhat.com> Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libvirtio')
-rw-r--r--lib/libvirtio/virtio-9p.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libvirtio/virtio-9p.c b/lib/libvirtio/virtio-9p.c
index d3b3424..6e9c379 100644
--- a/lib/libvirtio/virtio-9p.c
+++ b/lib/libvirtio/virtio-9p.c
@@ -171,8 +171,8 @@ int virtio_9p_init(struct virtio_device *dev, void *tx_buf, void *rx_buf,
return -1;
__buf_size = buf_size;
- dprintf("%s : device at %p\n", __func__, dev->base);
- dprintf("%s : type is %04x\n", __func__, dev->type);
+ dprintf("%s : device at %p\n", __func__, dev->base);
+ dprintf("%s : type is %04x\n", __func__, dev->type);
virtio_reset_device(dev);
@@ -222,11 +222,11 @@ dev_error:
*/
void virtio_9p_shutdown(struct virtio_device *dev)
{
- /* Quiesce device */
- virtio_set_status(dev, VIRTIO_STAT_FAILED);
+ /* Quiesce device */
+ virtio_set_status(dev, VIRTIO_STAT_FAILED);
- /* Reset device */
- virtio_reset_device(dev);
+ /* Reset device */
+ virtio_reset_device(dev);
__buf_size = 0;
}