KVM: Fix KVM_SET_SIGNAL_MASK with arg == NULL
authorAndi Kleen <andi@firstfloor.org>
Thu, 10 Jun 2010 11:10:47 +0000 (13:10 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:28 +0000 (10:46 +0300)
commit376d41ff2669617a1ef828466ad07a1be99d24d3
tree1bba59c86da7fae20ac0619296a2d67797abfb87
parent3b5d13218667b3ca52efa52cec1d322163bf5465
KVM: Fix KVM_SET_SIGNAL_MASK with arg == NULL

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