提交 286f9a22 编写于 作者: A Amit Shah 提交者: Rusty Russell

virtio: console: Fix indentation

Convert spaces to tabs and fix indentation for an if statement split
into multiple lines.
Signed-off-by: NAmit Shah <amit.shah@redhat.com>
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 00b894e8
...@@ -1563,7 +1563,7 @@ static int init_vqs(struct ports_device *portdev) ...@@ -1563,7 +1563,7 @@ static int init_vqs(struct ports_device *portdev)
portdev->out_vqs = kmalloc(nr_ports * sizeof(struct virtqueue *), portdev->out_vqs = kmalloc(nr_ports * sizeof(struct virtqueue *),
GFP_KERNEL); GFP_KERNEL);
if (!vqs || !io_callbacks || !io_names || !portdev->in_vqs || if (!vqs || !io_callbacks || !io_names || !portdev->in_vqs ||
!portdev->out_vqs) { !portdev->out_vqs) {
err = -ENOMEM; err = -ENOMEM;
goto free; goto free;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册