projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b894e
)
virtio: console: Fix indentation
author
Amit Shah
<amit.shah@redhat.com>
Wed, 14 Sep 2011 07:36:39 +0000
(13:06 +0530)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 2 Nov 2011 01:10:59 +0000
(11:40 +1030)
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>
drivers/char/virtio_console.c
patch
|
blob
|
history
diff --git
a/drivers/char/virtio_console.c
b/drivers/char/virtio_console.c
index ed99f3bf341addc4221971f445c7921e41a7a8bf..10280a29a34b11f14373d127efe141c55c2f165b 100644
(file)
--- 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;
}