]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
vhost: whitespace fix
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 27 May 2010 09:28:03 +0000 (12:28 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 27 May 2010 09:28:03 +0000 (12:28 +0300)
Fix up whitespace in vq_memory_access_ok.

Reported-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c

index 750effe0f98b61f7134b69d7b14a85a54723cc45..7af5e5c47ce2a2e7da0488fab7363f6c3054ea13 100644 (file)
@@ -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;