projects
/
GitHub
/
moto-9609
/
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:
cdc7b83
)
kvm/iommu: fix compile warning
author
Joerg Roedel
<joerg.roedel@amd.com>
Sat, 3 Jan 2009 15:37:53 +0000
(16:37 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Sat, 3 Jan 2009 15:37:53 +0000
(16:37 +0100)
This fixes a compile warning about a variable thats maybe used
uninitialized in the function.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
virt/kvm/iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/iommu.c
b/virt/kvm/iommu.c
index d0bebaa5bf0a2521e00e8739c3caec1d4127f014..e9693a29d00e2fe5b159632e301ca4cd0d08bb4d 100644
(file)
--- a/
virt/kvm/iommu.c
+++ b/
virt/kvm/iommu.c
@@
-71,7
+71,7
@@
unmap_pages:
static int kvm_iommu_map_memslots(struct kvm *kvm)
{
- int i, r;
+ int i, r
= 0
;
down_read(&kvm->slots_lock);
for (i = 0; i < kvm->nmemslots; i++) {