diff options
author | Amit Shah <amit.shah@redhat.com> | 2011-09-14 09:36:39 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-11-02 02:10:59 +0100 |
commit | 286f9a226f11e4a05d08999417fd838c0ca91d7a (patch) | |
tree | 35f5e084944e6c7bf4db4dc6b048de1d2d372bc7 /drivers/char | |
parent | virtio: modify vring_init and vring_size to take account of the layout contai... (diff) | |
download | linux-286f9a226f11e4a05d08999417fd838c0ca91d7a.tar.xz linux-286f9a226f11e4a05d08999417fd838c0ca91d7a.zip |
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.c | 2 |
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) portdev->out_vqs = kmalloc(nr_ports * sizeof(struct virtqueue *), GFP_KERNEL); if (!vqs || !io_callbacks || !io_names || !portdev->in_vqs || - !portdev->out_vqs) { + !portdev->out_vqs) { err = -ENOMEM; goto free; } |