]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf11835dad8ac1978a44ec3faba2088772979f29e
tree1bba59c86da7fae20ac0619296a2d67797abfb87
parent2b9506a43798efa5ee6892302a5b4336865ff060
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