summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-05-27 12:28:03 +0300
committerMichael S. Tsirkin <mst@redhat.com>2010-05-27 12:28:03 +0300
commitf8322fbe049687d3676690e8ad839c7169dd306a (patch)
tree8eaa9cd9b534a9867e50e75716e1e6f66150a48c /drivers/vhost
parentdd1f4078f0d2de74a308f00a2dffbd550cfba59f (diff)
downloadop-kernel-dev-f8322fbe049687d3676690e8ad839c7169dd306a.zip
op-kernel-dev-f8322fbe049687d3676690e8ad839c7169dd306a.tar.gz
vhost: whitespace fix
Fix up whitespace in vq_memory_access_ok. Reported-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost')
-rw-r--r--drivers/vhost/vhost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 750effe..7af5e5c 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -237,8 +237,8 @@ static int vq_memory_access_ok(void __user *log_base, struct vhost_memory *mem,
{
int i;
- if (!mem)
- return 0;
+ if (!mem)
+ return 0;
for (i = 0; i < mem->nregions; ++i) {
struct vhost_memory_region *m = mem->regions + i;
OpenPOWER on IntegriCloud