]> err.no Git - linux-2.6/commit
s390: KVM guest: fix compile error
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 6 May 2008 14:38:30 +0000 (17:38 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 18 May 2008 11:34:15 +0000 (14:34 +0300)
commit5ca9fd54e3d75489ff9c70d7af6e0b9a390dd656
tree9102dbf1e9f0ba52b162c10bc3d4183a044b604a
parent107d6d2efa9eb8c48d050936d8019230ac6b24cd
s390: KVM guest: fix compile error

Fix kvm compile error:

Commit c45a6816c19dee67b8f725e6646d428901a6dc24
(virtio: explicit advertisement of driver features)
and commit e976a2b997fc4ad70ccc53acfe62811c4aaec851
(s390: KVM guest: virtio device support, and kvm hypercalls)
don't like each other:

  CC      drivers/s390/kvm/kvm_virtio.o
drivers/s390/kvm/kvm_virtio.c:224: error: unknown field 'feature' specified in initializer
drivers/s390/kvm/kvm_virtio.c:224: warning: initialization from incompatible pointer type
make[3]: *** [drivers/s390/kvm/kvm_virtio.o] Error 1

Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/s390/kvm/kvm_virtio.c