3.2.43 201304181907 does not compile
Posted: Mon Apr 22, 2013 4:14 am
Hi,
When compiling kernel 3.2.43 with the latest 201304181907 patch it fails with:
arch/x86/kvm/x86.c: In function ‘kvm_set_msr_common’:
arch/x86/kvm/x86.c:1600:4: error: expected ‘)’ before ‘break’
arch/x86/kvm/x86.c:1608:2: error: expected expression before ‘}’ token
make[4]: *** [arch/x86/kvm/x86.o] Error 1
make[3]: *** [arch/x86/kvm] Error 2
make[2]: *** [arch/x86] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2
It seems that this piece of code is not right:
/* Check that address+len does not cross page boundary */
if ((gpa_offset & (sizeof(struct pvclock_vcpu_time_info) - 1)
& PAGE_MASK)
break;
I can see there's either a '(' too much or a missing ')'. Since I'm not a coder I don't know which one
When compiling kernel 3.2.43 with the latest 201304181907 patch it fails with:
arch/x86/kvm/x86.c: In function ‘kvm_set_msr_common’:
arch/x86/kvm/x86.c:1600:4: error: expected ‘)’ before ‘break’
arch/x86/kvm/x86.c:1608:2: error: expected expression before ‘}’ token
make[4]: *** [arch/x86/kvm/x86.o] Error 1
make[3]: *** [arch/x86/kvm] Error 2
make[2]: *** [arch/x86] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2
It seems that this piece of code is not right:
/* Check that address+len does not cross page boundary */
if ((gpa_offset & (sizeof(struct pvclock_vcpu_time_info) - 1)
& PAGE_MASK)
break;
I can see there's either a '(' too much or a missing ')'. Since I'm not a coder I don't know which one