projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b5d132
)
KVM: Fix KVM_SET_SIGNAL_MASK with arg == NULL
author
Andi Kleen
<andi@firstfloor.org>
Thu, 10 Jun 2010 11:10:47 +0000
(13:10 +0200)
committer
Avi Kivity
<avi@redhat.com>
Sun, 1 Aug 2010 07:46:28 +0000
(10:46 +0300)
When the user passed in a NULL mask pass this on from the ioctl
handler.
Found by gcc 4.6's new warnings.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c
patch
|
blob
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index 78ed71ad6aa10cc55388c86ff5276caf6383753f..84a090644d9d4a57a258606801e7eae890fba29a 100644
(file)
--- a/
virt/kvm/kvm_main.c
+++ b/
virt/kvm/kvm_main.c
@@
-1547,7
+1547,7
@@
out_free2:
goto out;
p = &sigset;
}
- r = kvm_vcpu_ioctl_set_sigmask(vcpu,
&sigset
);
+ r = kvm_vcpu_ioctl_set_sigmask(vcpu,
p
);
break;
}
case KVM_GET_FPU: {