projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/vhost/vhost.c
b/drivers/vhost/vhost.c
index 750effe0f98b61f7134b69d7b14a85a54723cc45..7af5e5c47ce2a2e7da0488fab7363f6c3054ea13 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;