projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd1f407
)
vhost: whitespace fix
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 27 May 2010 09:28:03 +0000
(12:28 +0300)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/drivers/vhost/vhost.c
b/drivers/vhost/vhost.c
index
750effe
..
7af5e5c
100644
(file)
--- 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;