linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: vhost: vsock: fixed a brace coding style issue
@ 2018-03-09  2:56 Vaibhav Murkute
  2018-03-09  9:52 ` Stefan Hajnoczi
  2018-03-09 16:39 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Vaibhav Murkute @ 2018-03-09  2:56 UTC (permalink / raw)
  To: stefanha, mst, jasowang
  Cc: kvm, virtualization, netdev, linux-kernel, Vaibhav Murkute

Fixed a coding style issue.

Signed-off-by: Vaibhav Murkute <vaibhavmurkute88@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers: vhost: vsock: fixed a brace coding style issue
  2018-03-09  2:56 [PATCH] drivers: vhost: vsock: fixed a brace coding style issue Vaibhav Murkute
@ 2018-03-09  9:52 ` Stefan Hajnoczi
  2018-03-09 16:39 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2018-03-09  9:52 UTC (permalink / raw)
  To: Vaibhav Murkute; +Cc: mst, jasowang, kvm, virtualization, netdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

On Fri, Mar 09, 2018 at 08:26:03AM +0530, Vaibhav Murkute wrote:
> Fixed a coding style issue.
> 
> Signed-off-by: Vaibhav Murkute <vaibhavmurkute88@gmail.com>
> ---
>  drivers/vhost/vsock.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers: vhost: vsock: fixed a brace coding style issue
  2018-03-09  2:56 [PATCH] drivers: vhost: vsock: fixed a brace coding style issue Vaibhav Murkute
  2018-03-09  9:52 ` Stefan Hajnoczi
@ 2018-03-09 16:39 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2018-03-09 16:39 UTC (permalink / raw)
  To: vaibhavmurkute88
  Cc: stefanha, mst, jasowang, kvm, virtualization, netdev, linux-kernel

From: Vaibhav Murkute <vaibhavmurkute88@gmail.com>
Date: Fri,  9 Mar 2018 08:26:03 +0530

> Fixed a coding style issue.
> 
> Signed-off-by: Vaibhav Murkute <vaibhavmurkute88@gmail.com>

Applied to net-next, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-09 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09  2:56 [PATCH] drivers: vhost: vsock: fixed a brace coding style issue Vaibhav Murkute
2018-03-09  9:52 ` Stefan Hajnoczi
2018-03-09 16:39 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).