aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-09-14 03:36:39 -0400
committerRusty Russell <rusty@rustcorp.com.au>2011-11-01 21:10:59 -0400
commit286f9a226f11e4a05d08999417fd838c0ca91d7a (patch)
tree35f5e084944e6c7bf4db4dc6b048de1d2d372bc7 /drivers/char
parent00b894e874581f6b388c5817d4d5546c22cf9640 (diff)
virtio: console: Fix indentation
Convert spaces to tabs and fix indentation for an if statement split into multiple lines. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/virtio_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index ed99f3bf341a..10280a29a34b 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -1563,7 +1563,7 @@ static int init_vqs(struct ports_device *portdev)
1563 portdev->out_vqs = kmalloc(nr_ports * sizeof(struct virtqueue *), 1563 portdev->out_vqs = kmalloc(nr_ports * sizeof(struct virtqueue *),
1564 GFP_KERNEL); 1564 GFP_KERNEL);
1565 if (!vqs || !io_callbacks || !io_names || !portdev->in_vqs || 1565 if (!vqs || !io_callbacks || !io_names || !portdev->in_vqs ||
1566 !portdev->out_vqs) { 1566 !portdev->out_vqs) {
1567 err = -ENOMEM; 1567 err = -ENOMEM;
1568 goto free; 1568 goto free;
1569 } 1569 }