[PATCH] drivers: vhost: vsock: fixed a brace coding style issue

Subsystems: the rest, virtio and vhost vsock driver, virtio host (vhost)

STALE3146d

3 messages, 3 authors, 2018-03-09 · open the first message on its own page

[PATCH] drivers: vhost: vsock: fixed a brace coding style issue

From: Vaibhav Murkute <hidden>
Date: 2018-03-09 02:57:35

Fixed a coding style issue.

Signed-off-by: Vaibhav Murkute <redacted>
---
 drivers/vhost/vsock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index 0d14e2ff19f1..0898dbdbf955 100644
--- a/drivers/vhost/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -61,9 +61,9 @@ static struct vhost_vsock *__vhost_vsock_get(u32 guest_cid)
 		if (other_cid == 0)
 			continue;
 
-		if (other_cid == guest_cid) {
+		if (other_cid == guest_cid)
 			return vsock;
-		}
+
 	}
 
 	return NULL;
-- 
2.15.1

Re: [PATCH] drivers: vhost: vsock: fixed a brace coding style issue

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2018-03-09 09:52:50

On Fri, Mar 09, 2018 at 08:26:03AM +0530, Vaibhav Murkute wrote:
Fixed a coding style issue.

Signed-off-by: Vaibhav Murkute <redacted>
---
 drivers/vhost/vsock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Re: [PATCH] drivers: vhost: vsock: fixed a brace coding style issue

From: David Miller <davem@davemloft.net>
Date: 2018-03-09 16:40:04

From: Vaibhav Murkute <redacted>
Date: Fri,  9 Mar 2018 08:26:03 +0530
Fixed a coding style issue.

Signed-off-by: Vaibhav Murkute <redacted>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help