* sparse warnings
@ 2020-08-04 21:36 Michael S. Tsirkin
0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2020-08-04 21:36 UTC (permalink / raw)
To: pbonzini, kvm
noticed these hen building with C=1:
arch/x86/kvm/x86.c:2669:38: warning: incorrect type in argument 1 (different address spaces)
arch/x86/kvm/x86.c:2669:38: expected void const [noderef] __user *
arch/x86/kvm/x86.c:2669:38: got unsigned char [usertype] *
arch/x86/kvm/x86.c:7636:15: error: incompatible types in comparison expression (different address spaces):
arch/x86/kvm/x86.c:7636:15: struct kvm_apic_map [noderef] __rcu *
arch/x86/kvm/x86.c:7636:15: struct kvm_apic_map *
arch/x86/kvm/x86.c:10010:16: error: incompatible types in comparison expression (different address spaces):
arch/x86/kvm/x86.c:10010:16: struct kvm_apic_map [noderef] __rcu *
arch/x86/kvm/x86.c:10010:16: struct kvm_apic_map *
arch/x86/kvm/x86.c:10011:15: error: incompatible types in comparison expression (different address spaces):
arch/x86/kvm/x86.c:10011:15: struct kvm_pmu_event_filter [noderef] __rcu *
arch/x86/kvm/x86.c:10011:15: struct kvm_pmu_event_filter *
arch/x86/kvm/x86.c: note: in included file (through include/linux/notifier.h, arch/x86/include/asm/uprobes.h, include/linux/uprobes.h, include/linux/mm_types.h, include/asm-generic/fixmap.h, arch/x86/include/asm/fixmap.h, ...):
./include/linux/srcu.h:179:9: warning: context imbalance in 'vcpu_enter_guest' - unexpected unlock
HTH,
--
MST
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-04 21:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 21:36 sparse warnings Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).