lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1449575856-28507-2-git-send-email-stefanha@redhat.com>
Date:	Tue,  8 Dec 2015 19:57:31 +0800
From:	Stefan Hajnoczi <stefanha@...hat.com>
To:	netdev@...r.kernel.org
Cc:	Matt Benjamin <mbenjamin@...hat.com>,
	"David S. Miller" <davem@...emloft.net>, kvm@...r.kernel.org,
	Christoffer Dall <christoffer.dall@...aro.org>,
	"Michael S. Tsirkin" <mst@...hat.com>,
	virtualization@...ts.linux-foundation.org, matt.ma@...aro.org,
	Stefan Hajnoczi <stefanha@...hat.com>
Subject: [PATCH 1/6] Revert "VSOCK: fix returnvar.cocci warnings"

This reverts commit 0d76d6e8b2507983a2cae4c09880798079007421.

Keep virtio-vsock out-of-tree until the virtio-vsock device
specification is finalized.

Signed-off-by: Stefan Hajnoczi <stefanha@...hat.com>
---
 drivers/vhost/vsock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index 64bcb10..65b1cf8 100644
--- a/drivers/vhost/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -56,7 +56,8 @@ struct vhost_vsock {
 
 static u32 vhost_transport_get_local_cid(void)
 {
-	return VHOST_VSOCK_DEFAULT_HOST_CID;
+	u32 cid = VHOST_VSOCK_DEFAULT_HOST_CID;
+	return cid;
 }
 
 static struct vhost_vsock *vhost_vsock_get(u32 guest_cid)
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ