KVM: add cast within kvm_clear_guest_page to fix warning
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 27 Oct 2010 15:21:21 +0000 (17:21 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:28:49 +0000 (11:28 +0200)
commit3bcc8a8c6c13f601dddd948d33d89d5ac5213e3c
treeedf4c5e4c3cd4edddc034d519f5c0de31732f502
parent6f9e5c1702319e048a90e06e31b957fbbcecbe07
KVM: add cast within kvm_clear_guest_page to fix warning

Fixes this:

CC arch/s390/kvm/../../../virt/kvm/kvm_main.o
arch/s390/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_clear_guest_page':
arch/s390/kvm/../../../virt/kvm/kvm_main.c:1224:2: warning: passing argument 3 of 'kvm_write_guest_page' makes pointer from integer without a cast
arch/s390/kvm/../../../virt/kvm/kvm_main.c:1185:5: note: expected 'const void *' but argument is of type 'long unsigned int'

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c